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 /mount.h | |
parent | 0d9068141e07ba29483ebe8bc4aaed6aacde1562 (diff) |
reload: implement reload/reexec logic
Diffstat (limited to 'mount.h')
-rw-r--r-- | mount.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -84,11 +84,12 @@ struct Mount { ExecCommand exec_command[_MOUNT_EXEC_COMMAND_MAX]; ExecContext exec_context; - MountState state; + MountState state, deserialized_state; KillMode kill_mode; ExecCommand* control_command; + MountExecCommand control_command_id; pid_t control_pid; Watch timer_watch; @@ -100,4 +101,10 @@ void mount_fd_event(Manager *m, int events); int mount_path_is_mounted(Manager *m, const char* path); +const char* mount_state_to_string(MountState i); +MountState mount_state_from_string(const char *s); + +const char* mount_exec_command_to_string(MountExecCommand i); +MountExecCommand mount_exec_command_from_string(const char *s); + #endif |