X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fservice.h;h=cc63347c76adbb032eb509880179ef154a31eb66;hb=d4447f4d955d5bfbdec6feec8e332b8c126f474a;hp=4a7287d82701e12648f4b3f7aa9af9e912cff7cd;hpb=98709151f3e782eb508ba15e2a12c0b46003f061;p=elogind.git diff --git a/src/core/service.h b/src/core/service.h index 4a7287d82..cc63347c7 100644 --- a/src/core/service.h +++ b/src/core/service.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef fooservicehfoo -#define fooservicehfoo +#pragma once /*** This file is part of systemd. @@ -28,6 +27,7 @@ typedef struct Service Service; #include "path.h" #include "ratelimit.h" #include "service.h" +#include "kill.h" typedef enum ServiceState { SERVICE_DEAD, @@ -127,7 +127,9 @@ struct Service { Watch watchdog_watch; ExecCommand* exec_command[_SERVICE_EXEC_COMMAND_MAX]; + ExecContext exec_context; + KillContext kill_context; ServiceState state, deserialized_state; @@ -216,5 +218,3 @@ ServiceResult service_result_from_string(const char *s); const char* start_limit_action_to_string(StartLimitAction i); StartLimitAction start_limit_action_from_string(const char *s); - -#endif