From 8961e2d562cdcd5ed0bfbc3d6e4addf6e8bff5fa Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 22 Apr 2014 01:21:07 +0200 Subject: m + accept incoming connections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/mds-server.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/mds-server.h') diff --git a/src/mds-server.h b/src/mds-server.h index c27498a..cad1fb1 100644 --- a/src/mds-server.h +++ b/src/mds-server.h @@ -19,6 +19,15 @@ #define MDS_MDS_SERVER_H + +/** + * Master function for slave threads + * + * @param data Input data + * @return Outout data + */ +void* slave_loop(void* data); + /** * Read an environment variable, but handle it as undefined if empty * @@ -27,6 +36,13 @@ */ char* getenv_nonempty(const char* var); +/** + * Exec into the mdsinitrc script + * + * @param args The arguments to the child process + */ +void run_initrc(char** args); + #endif -- cgit v1.2.3-70-g09d2