X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fsocket.h;h=6f2af7cd613b43b48501b0ed00df3c7665d7dc38;hb=85eda5721f8d2a20482ef228d341fbbd134c6799;hp=1f4f23c96458d96c63d12bbdb34c6896c15e9294;hpb=c2f3480897b51dd9b2137f1eeddb4c851e9c6e3b;p=elogind.git diff --git a/src/socket.h b/src/socket.h index 1f4f23c96..6f2af7cd6 100644 --- a/src/socket.h +++ b/src/socket.h @@ -72,7 +72,7 @@ typedef enum SocketResult { SOCKET_FAILURE_EXIT_CODE, SOCKET_FAILURE_SIGNAL, SOCKET_FAILURE_CORE_DUMP, - SOCKET_FAILURE_SERVICE_BROKEN, + SOCKET_FAILURE_SERVICE_FAILED_PERMANENT, _SOCKET_RESULT_MAX, _SOCKET_RESULT_INVALID = -1 } SocketResult; @@ -149,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, bool broken); +void socket_notify_service_dead(Socket *s, bool failed_permanent); /* Called from the mount code figure out if a mount is a dependency of * any of the sockets of this socket */