diff options
Diffstat (limited to 'src/mds-server.h')
-rw-r--r-- | src/mds-server.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mds-server.h b/src/mds-server.h index cad1fb1..5b2ab30 100644 --- a/src/mds-server.h +++ b/src/mds-server.h @@ -19,6 +19,26 @@ #define MDS_MDS_SERVER_H +#include <stdlib.h> + + +/** + * Client information structure + */ +typedef struct client +{ + /** + * The client's entry in the list of clients + */ + ssize_t list_entry; + + /** + * The socket file descriptor for the socket connected to the client + */ + int socket_fd; + +} client_t; + /** * Master function for slave threads |