]>
Commit | Line | Data |
---|---|---|
c22cbe26 LP |
1 | /*-*- Mode: C; c-basic-offset: 8 -*-*/ |
2 | ||
3 | #ifndef footargethfoo | |
4 | #define footargethfoo | |
5 | ||
6 | typedef struct Target Target; | |
7 | ||
87f0e418 | 8 | #include "unit.h" |
c22cbe26 LP |
9 | |
10 | typedef enum TargetState { | |
11 | TARGET_DEAD, | |
fa068367 LP |
12 | TARGET_ACTIVE, |
13 | _TARGET_STATE_MAX | |
c22cbe26 LP |
14 | } TargetState; |
15 | ||
16 | struct Target { | |
17 | Meta meta; | |
18 | ||
19 | TargetState state; | |
20 | }; | |
21 | ||
87f0e418 | 22 | extern const UnitVTable target_vtable; |
c22cbe26 LP |
23 | |
24 | #endif |