aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds.h')
-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