aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-03 22:05:14 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-03 22:05:14 +0200
commit8e48442fc9c465e7018a53256c4c113fc53e7edb (patch)
tree7999e30ec229292dcaa5f59a42ec54ba591d679e /src/mds-server.h
parentm + doc (diff)
downloadmds-8e48442fc9c465e7018a53256c4c113fc53e7edb.tar.gz
mds-8e48442fc9c465e7018a53256c4c113fc53e7edb.tar.bz2
mds-8e48442fc9c465e7018a53256c4c113fc53e7edb.tar.xz
some work on unmarshalling
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/mds-server.h')
-rw-r--r--src/mds-server.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mds-server.h b/src/mds-server.h
index b58fbcf..12cd178 100644
--- a/src/mds-server.h
+++ b/src/mds-server.h
@@ -84,13 +84,20 @@ void run_initrc(char** args);
void sigusr1_trap(int signo);
/**
- * Marshal the servers state into a pipe
+ * Marshal the server's state into a pipe
*
* @param fd The write end of the pipe
* @return Negative on error
*/
int marshal_server(int fd);
+/**
+ * Unmarshal the server's state from a pipe
+ *
+ * @param fd The read end of the pipe
+ */
+void unmarshal_server(int fd);
+
#endif