]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1983 29311d96-e01e-0410-9327-a35deaa...
authorpatiencew <patiencew@29311d96-e01e-0410-9327-a35deaab8ce9>
Mon, 22 Oct 2007 23:54:29 +0000 (23:54 +0000)
committerpatiencew <patiencew@29311d96-e01e-0410-9327-a35deaab8ce9>
Mon, 22 Oct 2007 23:54:29 +0000 (23:54 +0000)
trunk/ceph/kernel/accepter.h [new file with mode: 0644]

diff --git a/trunk/ceph/kernel/accepter.h b/trunk/ceph/kernel/accepter.h
new file mode 100644 (file)
index 0000000..da692e7
--- /dev/null
@@ -0,0 +1,21 @@
+#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