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 /automount.h | |
parent | 0d9068141e07ba29483ebe8bc4aaed6aacde1562 (diff) |
reload: implement reload/reexec logic
Diffstat (limited to 'automount.h')
-rw-r--r-- | automount.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/automount.h b/automount.h index a8c81e17f2..5b623691d4 100644 --- a/automount.h +++ b/automount.h @@ -38,7 +38,7 @@ typedef enum AutomountState { struct Automount { Meta meta; - AutomountState state; + AutomountState state, deserialized_state; char *where; @@ -57,4 +57,7 @@ extern const UnitVTable automount_vtable; int automount_send_ready(Automount *a, int status); +const char* automount_state_to_string(AutomountState i); +AutomountState automount_state_from_string(const char *s); + #endif |