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 /socket.h | |
parent | 0d9068141e07ba29483ebe8bc4aaed6aacde1562 (diff) |
reload: implement reload/reexec logic
Diffstat (limited to 'socket.h')
-rw-r--r-- | socket.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -91,11 +91,12 @@ struct Socket { Service *service; - SocketState state; + SocketState state, deserialized_state; KillMode kill_mode; ExecCommand* control_command; + SocketExecCommand control_command_id; pid_t control_pid; char *bind_to_device; @@ -117,4 +118,10 @@ void socket_notify_service_dead(Socket *s); extern const UnitVTable socket_vtable; +const char* socket_state_to_string(SocketState i); +SocketState socket_state_from_string(const char *s); + +const char* socket_exec_command_to_string(SocketExecCommand i); +SocketExecCommand socket_exec_command_from_string(const char *s); + #endif |