summaryrefslogtreecommitdiff
path: root/systemd.h
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-10 11:22:29 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-10 11:22:29 +0200
commitfae819296598100e41646e0bebc7d0bce45614f7 (patch)
tree4680a7afdc64e278fe2018f6515ad88b8a54f80e /systemd.h
parenta270b41d55e3ab867e7c9aabf301ce9d9c48929f (diff)
Add initial systemd integration
Diffstat (limited to 'systemd.h')
-rw-r--r--systemd.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/systemd.h b/systemd.h
new file mode 100644
index 0000000..ccf63dd
--- /dev/null
+++ b/systemd.h
@@ -0,0 +1,22 @@
+#ifndef foosystemdhfoo
+#define foosystemdhfoo
+
+char *systemd_service_object_path(struct cfg *cfg, const char *service);
+
+void systemd_delete(struct cfg *cfg);
+
+bool systemd_service_running(struct cfg *cfg, struct server *server);
+
+bool systemd_service_stop(struct cfg *cfg, 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);
+*/
+
+#endif