25 lines
373 B
C
25 lines
373 B
C
/* SPDX-License-Identifier: LGPL-2.1+ */
|
|
#pragma once
|
|
|
|
/***
|
|
This file is part of systemd.
|
|
|
|
Copyright 2013 Lennart Poettering
|
|
***/
|
|
|
|
#include "unit.h"
|
|
|
|
typedef struct Slice Slice;
|
|
|
|
struct Slice {
|
|
Unit meta;
|
|
|
|
SliceState state, deserialized_state;
|
|
|
|
CGroupContext cgroup_context;
|
|
};
|
|
|
|
extern const UnitVTable slice_vtable;
|
|
|
|
DEFINE_CAST(SLICE, Slice);
|