aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server/mds-server.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mds-server/mds-server.h34
1 files changed, 1 insertions, 33 deletions
diff --git a/src/mds-server/mds-server.h b/src/mds-server/mds-server.h
index a6ed9d4..c4d166f 100644
--- a/src/mds-server/mds-server.h
+++ b/src/mds-server/mds-server.h
@@ -18,6 +18,7 @@
#ifndef MDS_MDS_SERVER_H
#define MDS_MDS_SERVER_H
+
#include "client.h"
#include "multicast.h"
@@ -51,45 +52,12 @@ int message_received(client_t* client);
void queue_message_multicast(char* message, size_t length, client_t* sender);
/**
- * Receive a full message and update open status if the client closes
- *
- * @param client The client
- * @return Zero on success, -2 on failure, otherwise -1
- */
-int fetch_message(client_t* client);
-
-/**
* Exec into the mdsinitrc script
*
* @param args The arguments to the child process
*/
void run_initrc(char** args);
-/**
- * Marshal the server's state into a file
- *
- * @param fd The file descriptor
- * @return Negative on error
- */
-int marshal_server(int fd);
-
-/**
- * Unmarshal the server's state from a file
- *
- * @param fd The file descriptor
- * @return Negative on error
- */
-int unmarshal_server(int fd);
-
-/**
- * Create, start and detache a slave thread
- *
- * @param thread The address at where to store the thread
- * @param socket_fd The file descriptor of the slave's socket
- * @return Zero on success, -1 on error, error message will have been printed
- */
-int create_slave(pthread_t* thread_slot, int socket_fd);
-
#endif