mirror of
https://github.com/ceph/ceph
synced 2025-02-09 20:09:53 +00:00
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
|