diff options
Diffstat (limited to 'target.h')
-rw-r--r-- | target.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -29,7 +29,8 @@ typedef struct Target Target; typedef enum TargetState { TARGET_DEAD, TARGET_ACTIVE, - _TARGET_STATE_MAX + _TARGET_STATE_MAX, + _TARGET_STATE_INVALID = -1 } TargetState; struct Target { @@ -40,4 +41,6 @@ struct Target { extern const UnitVTable target_vtable; +int target_get_runlevel(Target *t); + #endif |