ceph/branches/ebofs/kernel/accepter.h
sageweil dc48f25847 branch for ebofs changes
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2100 29311d96-e01e-0410-9327-a35deaab8ce9
2007-11-21 00:32:00 +00:00

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