chiark / gitweb /
Add Listen* to dbus properties
[elogind.git] / src / core / socket.h
index a273ac274097bc89e0f6c150088ae84ceb6b15e5..dbc363217b87cf1eb9666c7ca112d1a174e9b24a 100644 (file)
@@ -118,8 +118,6 @@ struct Socket {
 
         mode_t directory_mode;
         mode_t socket_mode;
-        char *socket_user;
-        char *socket_group;
 
         SocketResult result;
 
@@ -165,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);
@@ -175,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);