aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds-server.h')
-rw-r--r--src/mds-server.h16
1 files changed, 16 insertions, 0 deletions
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