]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/scope.h
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / core / scope.h
index f838ee535728d29b1a8fa7d320af739cd3a7b2aa..7e8c47dd4265fabd4003ac8b824ec09de73426df 100644 (file)
@@ -1,5 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
+/* SPDX-License-Identifier: LGPL-2.1+ */
 #pragma once
 
 /***
@@ -23,7 +22,9 @@
 
 typedef struct Scope Scope;
 
+#include "cgroup.h"
 #include "kill.h"
+#include "unit.h"
 
 typedef enum ScopeResult {
         SCOPE_SUCCESS,
@@ -45,6 +46,7 @@ struct Scope {
         usec_t timeout_stop_usec;
 
         char *controller;
+        bool was_abandoned;
 
         sd_event_source *timer_event_source;
 };