chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit: save description/slice of transient units to /run
[elogind.git]
/
src
/
core
/
unit.h
diff --git
a/src/core/unit.h
b/src/core/unit.h
index 8a62787b3824e4dce3ad1293b0b8664872e8ec9a..ed4df182469e2782b59e918dc85c723efb4bb6c7 100644
(file)
--- a/
src/core/unit.h
+++ b/
src/core/unit.h
@@
-280,6
+280,7
@@
typedef enum UnitSetPropertiesMode {
#include "swap.h"
#include "path.h"
#include "slice.h"
#include "swap.h"
#include "path.h"
#include "slice.h"
+#include "scope.h"
struct UnitVTable {
/* How much memory does an object of this unit type need */
struct UnitVTable {
/* How much memory does an object of this unit type need */
@@
-462,6
+463,7
@@
DEFINE_CAST(SNAPSHOT, Snapshot);
DEFINE_CAST(SWAP, Swap);
DEFINE_CAST(PATH, Path);
DEFINE_CAST(SLICE, Slice);
DEFINE_CAST(SWAP, Swap);
DEFINE_CAST(PATH, Path);
DEFINE_CAST(SLICE, Slice);
+DEFINE_CAST(SCOPE, Scope);
Unit *unit_new(Manager *m, size_t size);
void unit_free(Unit *u);
Unit *unit_new(Manager *m, size_t size);
void unit_free(Unit *u);