]> git.ipfire.org Git - thirdparty/systemd.git/blob - target.h
make sure the log functions don't modify errno
[thirdparty/systemd.git] / target.h
1 /*-*- Mode: C; c-basic-offset: 8 -*-*/
2
3 #ifndef footargethfoo
4 #define footargethfoo
5
6 typedef struct Target Target;
7
8 #include "unit.h"
9
10 typedef enum TargetState {
11 TARGET_DEAD,
12 TARGET_ACTIVE,
13 _TARGET_STATE_MAX
14 } TargetState;
15
16 struct Target {
17 Meta meta;
18
19 TargetState state;
20 };
21
22 extern const UnitVTable target_vtable;
23
24 #endif