mirror of
https://github.com/ceph/ceph
synced 2025-02-09 03:49:38 +00:00
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2100 29311d96-e01e-0410-9327-a35deaab8ce9
22 lines
399 B
C
22 lines
399 B
C
#ifndef __FS_CEPH_ACCEPTER_H
|
|
#define __FS_CEPH_ACCEPTOR_H
|
|
|
|
#include <linux/kthread.h>
|
|
#include <linux/net.h>
|
|
|
|
/*
|
|
* Information about client thread
|
|
*/
|
|
struct ceph_accepter {
|
|
struct task_struct accepter_thread; /* thread */
|
|
struct socket sock; /* Socket */
|
|
};
|
|
|
|
/*
|
|
* Prototypes definitions
|
|
*/
|
|
int ceph_accepter_start(void);
|
|
void ceph_accepter_shutdown(struct ceph_accepter *accepter);
|
|
|
|
#endif
|