summaryrefslogtreecommitdiff
path: root/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'target.h')
-rw-r--r--target.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/target.h b/target.h
new file mode 100644
index 0000000000..61f2803c16
--- /dev/null
+++ b/target.h
@@ -0,0 +1,23 @@
+/*-*- Mode: C; c-basic-offset: 8 -*-*/
+
+#ifndef footargethfoo
+#define footargethfoo
+
+typedef struct Target Target;
+
+#include "name.h"
+
+typedef enum TargetState {
+ TARGET_DEAD,
+ TARGET_ACTIVE
+} TargetState;
+
+struct Target {
+ Meta meta;
+
+ TargetState state;
+};
+
+extern const NameVTable target_vtable;
+
+#endif