aboutsummaryrefslogtreecommitdiff
path: root/initd/init.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2019-03-28 14:15:39 +0100
committerDavid Oberhollenzer <goliath@infraroot.at>2019-03-28 15:32:10 +0100
commitba1270008021470b2e451bce8e75053e0a00f662 (patch)
tree1a33a447af83e276c7642b73f9c1bcd9fde9416b /initd/init.h
parent9e7478397a6f3c7bc38be52268e805d5b094eeb2 (diff)
Add start/stop commands to init socket
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd/init.h')
-rw-r--r--initd/init.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/initd/init.h b/initd/init.h
index 1d292d3..b98da98 100644
--- a/initd/init.h
+++ b/initd/init.h
@@ -9,6 +9,7 @@
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
+#include <endian.h>
#include <stdio.h>
#include <errno.h>
#include <poll.h>
@@ -70,6 +71,10 @@ bool supervisor_process_queues(void);
void supervisor_answer_status_request(int fd, const void *dest_addr,
size_t addrlen, E_SERVICE_STATE filter);
+void supervisor_start(int id);
+
+void supervisor_stop(int id);
+
/********** signal_<platform>.c **********/
/*