chiark / gitweb /
core/killall.c: prevent segfault and initialize pids
[elogind.git] / src / core / socket.h
index f099520dcef1015164dc9b4067c4d40752a0f4a7..dbc363217b87cf1eb9666c7ca112d1a174e9b24a 100644 (file)
@@ -163,6 +163,8 @@ int socket_add_one_mount_link(Socket *s, Mount *m);
 /* Called from the service code when a per-connection service ended */
 void socket_connection_unref(Socket *s);
 
+void socket_free_ports(Socket *s);
+
 extern const UnitVTable socket_vtable;
 
 const char* socket_state_to_string(SocketState i);
@@ -173,3 +175,5 @@ SocketExecCommand socket_exec_command_from_string(const char *s);
 
 const char* socket_result_to_string(SocketResult i);
 SocketResult socket_result_from_string(const char *s);
+
+const char* socket_port_type_to_string(SocketPort *p);