]>
Commit | Line | Data |
---|---|---|
db9ecf05 | 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
a016b922 LP |
2 | #pragma once |
3 | ||
57b7a260 FS |
4 | #include "unit.h" |
5 | ||
a016b922 LP |
6 | typedef struct Slice Slice; |
7 | ||
a016b922 LP |
8 | struct Slice { |
9 | Unit meta; | |
10 | ||
11 | SliceState state, deserialized_state; | |
4ad49000 LP |
12 | |
13 | CGroupContext cgroup_context; | |
9cc54544 LP |
14 | |
15 | CGroupRuntime *cgroup_runtime; | |
a016b922 LP |
16 | }; |
17 | ||
18 | extern const UnitVTable slice_vtable; | |
57b7a260 FS |
19 | |
20 | DEFINE_CAST(SLICE, Slice); |