diff options
author | Felipe Sateler <fsateler@debian.org> | 2018-05-15 20:17:34 +0200 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2018-05-15 20:24:34 +0200 |
commit | 57b7a260c20f58a5c5d9c1e1aacde50646863919 (patch) | |
tree | 2c0321e30ee80d5502024b30d09aa99405660ec5 /src/core/service.h | |
parent | core: Break circular dependency between unit.h and cgroup.h (diff) | |
download | systemd-57b7a260c20f58a5c5d9c1e1aacde50646863919.tar.xz systemd-57b7a260c20f58a5c5d9c1e1aacde50646863919.zip |
core: undo the dependency inversion between unit.h and all unit types
Diffstat (limited to 'src/core/service.h')
-rw-r--r-- | src/core/service.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/service.h b/src/core/service.h index 116d5d119f..6d64f8e9e6 100644 --- a/src/core/service.h +++ b/src/core/service.h @@ -14,6 +14,8 @@ typedef struct ServiceFDStore ServiceFDStore; #include "kill.h" #include "path.h" #include "ratelimit.h" +#include "socket.h" +#include "unit.h" typedef enum ServiceRestart { SERVICE_RESTART_NO, @@ -204,3 +206,5 @@ NotifyState notify_state_from_string(const char *s) _pure_; const char* service_result_to_string(ServiceResult i) _const_; ServiceResult service_result_from_string(const char *s) _pure_; + +DEFINE_CAST(SERVICE, Service); |