summaryrefslogtreecommitdiff
path: root/target.h
blob: 27331782868070438ca790ef57cb9043beb187ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*-*- Mode: C; c-basic-offset: 8 -*-*/

#ifndef footargethfoo
#define footargethfoo

typedef struct Target Target;

#include "unit.h"

typedef enum TargetState {
        TARGET_DEAD,
        TARGET_ACTIVE,
        _TARGET_STATE_MAX
} TargetState;

struct Target {
        Meta meta;

        TargetState state;
};

extern const UnitVTable target_vtable;

#endif