chiark / gitweb /
core: do not use quotes around virt and arch
[elogind.git] / src / core / scope.h
index 4d8a1714bcc1a9385787bec346469fe07b52598f..4452fe2c94a1b6da342af35197fdb262483dec35 100644 (file)
 
 typedef struct Scope Scope;
 
-#include "unit.h"
 #include "kill.h"
 
 typedef enum ScopeState {
         SCOPE_DEAD,
         SCOPE_RUNNING,
+        SCOPE_ABANDONED,
         SCOPE_STOP_SIGTERM,
         SCOPE_STOP_SIGKILL,
         SCOPE_FAILED,
@@ -55,13 +55,15 @@ struct Scope {
 
         usec_t timeout_stop_usec;
 
-        Set *pids;
+        char *controller;
 
         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_;