summary refs log tree commit diff
path: root/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--daemon.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/daemon.h b/daemon.h
index a62f78f..09cda47 100644
--- a/daemon.h
+++ b/daemon.h
@@ -95,10 +95,13 @@ extern struct Services {
 } services;
 
 int serviceAdd(const char *name, const char *command);
+void serviceStart(struct Service *service);
 
 extern char configError[];
 int configParse(const char *path);
 
+extern int restartInterval;
+
 struct Set256 {
 	uint32_t bits[8];
 };
@@ -112,5 +115,5 @@ static inline uint32_t setTest(const struct Set256 *set, byte x) {
 	return set->bits[x / 32] & (1 << (uint32_t)(x & 31));
 }
 
-extern int restartInterval;
+enum { StopExit = 127 };
 extern struct Set256 stopExits;