summaryrefslogtreecommitdiffstats
path: root/src/socket-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket-server.h')
-rw-r--r--src/socket-server.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/socket-server.h b/src/socket-server.h
index 4814fc62..80895f8d 100644
--- a/src/socket-server.h
+++ b/src/socket-server.h
@@ -2,14 +2,14 @@
#define foosocketserverhfoo
#include <inttypes.h>
-#include "mainloop.h"
+#include "mainloop-api.h"
#include "iochannel.h"
struct socket_server;
-struct socket_server* socket_server_new(struct mainloop *m, int fd);
-struct socket_server* socket_server_new_unix(struct mainloop *m, const char *filename);
-struct socket_server* socket_server_new_ipv4(struct mainloop *m, uint32_t address, uint16_t port);
+struct socket_server* socket_server_new(struct pa_mainloop_api *m, int fd);
+struct socket_server* socket_server_new_unix(struct pa_mainloop_api *m, const char *filename);
+struct socket_server* socket_server_new_ipv4(struct pa_mainloop_api *m, uint32_t address, uint16_t port);
void socket_server_free(struct socket_server*s);