]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/core/slice.h
Merge pull request #12346 from poettering/accept-flush
[thirdparty/systemd.git] / src / core / slice.h
CommitLineData
53e1b683 1/* SPDX-License-Identifier: LGPL-2.1+ */
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;
a016b922
LP
14};
15
16extern const UnitVTable slice_vtable;
57b7a260
FS
17
18DEFINE_CAST(SLICE, Slice);