summaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-06 01:29:29 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-06 01:29:29 +0100
commit6bda96a0234e2d3d61bc36de99c19a9293721fef (patch)
tree45098734a96e9d6d009cae81fdcdfd051f22a63a /src/socket.h
parent9cacf564513b5fd6078cd418b104083aab8b9bd8 (diff)
socket: rename 'broken' failure result to 'failed-permanent' on order not to introduce new terminology
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket.h b/src/socket.h
index 1f4f23c964..6f2af7cd61 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 */