summaryrefslogtreecommitdiff
path: root/src/core/scope.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/scope.h')
-rw-r--r--src/core/scope.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/scope.h b/src/core/scope.h
index 014b50c765..6c59126422 100644
--- a/src/core/scope.h
+++ b/src/core/scope.h
@@ -29,6 +29,7 @@ typedef struct Scope Scope;
typedef enum ScopeState {
SCOPE_DEAD,
SCOPE_RUNNING,
+ SCOPE_ABANDONED,
SCOPE_STOP_SIGTERM,
SCOPE_STOP_SIGKILL,
SCOPE_FAILED,
@@ -57,13 +58,13 @@ struct Scope {
char *controller;
- Set *pids;
-
sd_event_source *timer_event_source;
};
extern const UnitVTable scope_vtable;
+int scope_abandon(Scope *s);
+
const char* scope_state_to_string(ScopeState i) _const_;
ScopeState scope_state_from_string(const char *s) _pure_;