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

#ifndef footargethfoo
#define footargethfoo

typedef struct Target Target;

#include "unit.h"

typedef enum TargetState {
        TARGET_DEAD,
        TARGET_ACTIVE
} TargetState;

struct Target {
        Meta meta;

        TargetState state;
};

extern const UnitVTable target_vtable;

#endif