diff options
Diffstat (limited to 'systemd.h')
-rw-r--r-- | systemd.h | 18 |
1 files changed, 5 insertions, 13 deletions
@@ -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 |