From 0750e2cce435be81bc6c7c4d5e143f7227e35e2a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 21 Apr 2014 00:39:47 +0200 Subject: m + spawn and respawn master server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mds.h') diff --git a/src/mds.h b/src/mds.h index c03537d..cc84f29 100644 --- a/src/mds.h +++ b/src/mds.h @@ -19,6 +19,15 @@ #define MDS_MDS_H +/** + * 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 * -- cgit v1.2.3-70-g09d2