diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-21 03:27:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-21 03:27:44 +0200 |
commit | a16e112358ea8fea381ee106b89e645aed8b0a8c (patch) | |
tree | f38b204ec041c25974397a7711a105cbe7509c07 /target.h | |
parent | 0d9068141e07ba29483ebe8bc4aaed6aacde1562 (diff) |
reload: implement reload/reexec logic
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 |