summary refs log tree commit diff
path: root/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--daemon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/daemon.h b/daemon.h
index 32827aa..5975034 100644
--- a/daemon.h
+++ b/daemon.h
@@ -67,6 +67,7 @@ extern char *serviceEnviron[EnvironLen];
 enum State {
 	Stop,
 	Start,
+	Restart,
 };
 
 enum { LineCap = 512 };
@@ -96,6 +97,9 @@ extern struct Services {
 
 int serviceAdd(const char *name, const char *command);
 void serviceStart(struct Service *service);
+void serviceStop(struct Service *service);
+void serviceRestart(struct Service *service);
+void serviceSignal(struct Service *service, int signal);
 
 extern char configError[];
 int configParse(const char *path);