chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mount: properly check return for mount_add_*
[elogind.git]
/
src
/
socket.h
diff --git
a/src/socket.h
b/src/socket.h
index d242796a31f1beb39f0a469c10b1b5a6fc2db7d0..6f2af7cd613b43b48501b0ed00df3c7665d7dc38 100644
(file)
--- 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_EXIT_CODE,
SOCKET_FAILURE_SIGNAL,
SOCKET_FAILURE_CORE_DUMP,
+ SOCKET_FAILURE_SERVICE_FAILED_PERMANENT,
_SOCKET_RESULT_MAX,
_SOCKET_RESULT_INVALID = -1
} SocketResult;
_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 */
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 failed_permanent
);
/* Called from the mount code figure out if a mount is a dependency of
* any of the sockets of this socket */
/* Called from the mount code figure out if a mount is a dependency of
* any of the sockets of this socket */