summaryrefslogtreecommitdiff
path: root/target.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-26 19:06:50 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-26 19:06:50 +0100
commitc22cbe2672db2c95647c9412cfb4331d2be279a7 (patch)
tree164988fa1acb15cdcee3cba8535b02f1d2dfdce2 /target.h
parent44d8db9e5aa86165c97289f6c78a7e42bac78362 (diff)
rename milestone to target
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