summaryrefslogtreecommitdiff
path: root/systemd.h
diff options
context:
space:
mode:
Diffstat (limited to 'systemd.h')
-rw-r--r--systemd.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/systemd.h b/systemd.h
index ccf63dd..d455044 100644
--- a/systemd.h
+++ b/systemd.h
@@ -1,22 +1,14 @@
#ifndef foosystemdhfoo
#define foosystemdhfoo
-char *systemd_service_object_path(struct cfg *cfg, const char *service);
+char *systemd_object_path(const char *service);
-void systemd_delete(struct cfg *cfg);
+void systemd_delete();
-bool systemd_service_running(struct cfg *cfg, struct server *server);
+bool systemd_service_running(struct server *server);
-bool systemd_service_stop(struct cfg *cfg, struct server *server);
+bool systemd_service_stop(struct server *server);
-bool systemd_service_start(struct cfg *cfg, struct server *server);
-
-/*
-void idle_refdump(struct idle *idle);
-
-void idle_delete(struct cfg *cfg, struct server *server);
-
-void idle_init(struct cfg *cfg, struct server *server);
-*/
+bool systemd_service_start(struct server *server);
#endif