diff options
Diffstat (limited to 'target.h')
-rw-r--r-- | target.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -36,11 +36,14 @@ typedef enum TargetState { struct Target { Meta meta; - TargetState state; + TargetState state, deserialized_state; }; extern const UnitVTable target_vtable; int target_get_runlevel(Target *t); +const char* target_state_to_string(TargetState i); +TargetState target_state_from_string(const char *s); + #endif |