chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
don't allow zero length unit names
[elogind.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
} TargetState;
14
15
struct Target {
16
Meta meta;
17
18
TargetState state;
19
};
20
21
extern const UnitVTable target_vtable;
22
23
#endif