summaryrefslogtreecommitdiff
path: root/socket.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-27 06:19:48 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-27 06:19:48 +0100
commitceee3d82853a198884795e5d815b895468212b24 (patch)
tree2e40ab3dff86ae1ebf49d76db1716a8677b095ff /socket.h
parent2a987ee8c94ac29545e3c94d47b5d493daea0b5e (diff)
notify socket unit when service unit dies
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/socket.h b/socket.h
index 2c8a69f661..5495e3c5b9 100644
--- a/socket.h
+++ b/socket.h
@@ -82,6 +82,9 @@ struct Socket {
/* Called from the service code when collecting fds */
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);
+
extern const UnitVTable socket_vtable;
#endif