summaryrefslogtreecommitdiffstats
path: root/src/core/slice.h
blob: 004349dc4fb5cb8c761a80222bf1af9935ff653d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#include "unit.h"

typedef struct Slice Slice;

struct Slice {
        Unit meta;

        SliceState state, deserialized_state;

        CGroupContext cgroup_context;

        CGroupRuntime *cgroup_runtime;
};

extern const UnitVTable slice_vtable;

DEFINE_CAST(SLICE, Slice);