aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-server.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-22 01:21:07 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-22 01:21:07 +0200
commit8961e2d562cdcd5ed0bfbc3d6e4addf6e8bff5fa (patch)
tree1f97a3485f22b78827bd2339dc96a1be726cac64 /src/mds-server.h
parentrun mdsinitrc (diff)
downloadmds-8961e2d562cdcd5ed0bfbc3d6e4addf6e8bff5fa.tar.gz
mds-8961e2d562cdcd5ed0bfbc3d6e4addf6e8bff5fa.tar.bz2
mds-8961e2d562cdcd5ed0bfbc3d6e4addf6e8bff5fa.tar.xz
m + accept incoming connections
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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