]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/core/slice.h
core: align table
[thirdparty/systemd.git] / src / core / slice.h
CommitLineData
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
6typedef struct Slice Slice;
7
a016b922
LP
8struct 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
18extern const UnitVTable slice_vtable;
57b7a260
FS
19
20DEFINE_CAST(SLICE, Slice);