aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-21 00:39:47 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-21 00:40:14 +0200
commit0750e2cce435be81bc6c7c4d5e143f7227e35e2a (patch)
tree492e0469d86887427a717cc1e358075170e6b2b5 /src/mds.h
parentm + listen on socket (diff)
downloadmds-0750e2cce435be81bc6c7c4d5e143f7227e35e2a.tar.gz
mds-0750e2cce435be81bc6c7c4d5e143f7227e35e2a.tar.bz2
mds-0750e2cce435be81bc6c7c4d5e143f7227e35e2a.tar.xz
m + spawn and respawn master server
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mds.h b/src/mds.h
index c03537d..cc84f29 100644
--- a/src/mds.h
+++ b/src/mds.h
@@ -20,6 +20,15 @@
/**
+ * Start master server and respawn it if it crashes
+ *
+ * @param fd The file descriptor of the socket
+ * @return Non-zero on error
+ */
+int spawn_and_respawn_server(int fd);
+
+
+/**
* Create directory for socket files, PID files and such
*
* @return Non-zero on error