chiark / gitweb /
greatly extend what we enforce as process properties
[elogind.git] / target.h
index 61f2803c1669ae8886ad59cfef8bd0f6886f3439..27331782868070438ca790ef57cb9043beb187ff 100644 (file)
--- a/target.h
+++ b/target.h
@@ -5,11 +5,12 @@
 
 typedef struct Target Target;
 
-#include "name.h"
+#include "unit.h"
 
 typedef enum TargetState {
         TARGET_DEAD,
-        TARGET_ACTIVE
+        TARGET_ACTIVE,
+        _TARGET_STATE_MAX
 } TargetState;
 
 struct Target {
@@ -18,6 +19,6 @@ struct Target {
         TargetState state;
 };
 
-extern const NameVTable target_vtable;
+extern const UnitVTable target_vtable;
 
 #endif