diff options
Diffstat (limited to 'src/socket.h')
-rw-r--r-- | src/socket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/socket.h b/src/socket.h index d242796a31..1f4f23c964 100644 --- a/src/socket.h +++ b/src/socket.h @@ -72,6 +72,7 @@ typedef enum SocketResult { SOCKET_FAILURE_EXIT_CODE, SOCKET_FAILURE_SIGNAL, SOCKET_FAILURE_CORE_DUMP, + SOCKET_FAILURE_SERVICE_BROKEN, _SOCKET_RESULT_MAX, _SOCKET_RESULT_INVALID = -1 } SocketResult; @@ -148,7 +149,7 @@ struct Socket { int socket_collect_fds(Socket *s, int **fds, unsigned *n_fds); /* Called from the service when it shut down */ -void socket_notify_service_dead(Socket *s); +void socket_notify_service_dead(Socket *s, bool broken); /* Called from the mount code figure out if a mount is a dependency of * any of the sockets of this socket */ |