X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fcore%2Fservice.h;h=6d64f8e9e6fe98efb4dd249fcdaad3a4f30be640;hb=57b7a260c20f58a5c5d9c1e1aacde50646863919;hp=116d5d119fabb279796e61f514923205dcdc9a6b;hpb=90a8f0b9a999b4bbb5110066266fd6d807e04aa3;p=thirdparty%2Fsystemd.git diff --git a/src/core/service.h b/src/core/service.h index 116d5d119fa..6d64f8e9e6f 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);