]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/core/target.h
core: undo the dependency inversion between unit.h and all unit types
[thirdparty/systemd.git] / src / core / target.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include "unit.h"
5
6 /***
7 This file is part of systemd.
8
9 Copyright 2010 Lennart Poettering
10 ***/
11
12 typedef struct Target Target;
13
14 struct Target {
15 Unit meta;
16
17 TargetState state, deserialized_state;
18 };
19
20 extern const UnitVTable target_vtable;
21
22 DEFINE_CAST(TARGET, Target);