chiark / gitweb /
add some test script output
[elogind.git] / socket.h
index a8821f64126b71375cffb187854fc8d3ad63a6a1..c34689b852ff622e28d965dcee679725f27ac8b8 100644 (file)
--- a/socket.h
+++ b/socket.h
@@ -5,7 +5,7 @@
 
 typedef struct Socket Socket;
 
-#include "name.h"
+#include "unit.h"
 #include "socket-util.h"
 
 typedef enum SocketState {
@@ -75,6 +75,9 @@ struct Socket {
         int timer_id;
 };
 
-extern const NameVTable socket_vtable;
+/* Called from the service code when collecting fds */
+int socket_collect_fds(Socket *s, int **fds, unsigned *n_fds);
+
+extern const UnitVTable socket_vtable;
 
 #endif