chiark / gitweb /
notify socket unit when service unit dies
[elogind.git] / socket.h
index 2c8a69f6613cb524502c2ee240d869c21b61c365..5495e3c5b9a9ccbd3b6353dc9a3491e310ff91cb 100644 (file)
--- 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