aboutsummaryrefslogtreecommitdiffstats
path: root/src/ServerSocket.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-15 22:50:49 +0100
committerMax Kellermann <max@duempel.org>2013-01-15 22:56:06 +0100
commit0dd5f2915a9c01992c18f6c983c082199be7c771 (patch)
tree5885ceebca7673ebf3e3a2a63496fce9f90962a0 /src/ServerSocket.hxx
parenta0ebd444ad52e00d23abca606819257fcb48889b (diff)
downloadmpd-0dd5f2915a9c01992c18f6c983c082199be7c771.tar.gz
mpd-0dd5f2915a9c01992c18f6c983c082199be7c771.tar.xz
mpd-0dd5f2915a9c01992c18f6c983c082199be7c771.zip
ServerSocket: use the SocketMonitor class
Diffstat (limited to 'src/ServerSocket.hxx')
-rw-r--r--src/ServerSocket.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ServerSocket.hxx b/src/ServerSocket.hxx
index f09fd7e9e..eea4b0851 100644
--- a/src/ServerSocket.hxx
+++ b/src/ServerSocket.hxx
@@ -25,6 +25,7 @@
#include <stddef.h>
struct sockaddr;
+class EventLoop;
typedef void (*server_socket_callback_t)(int fd,
const struct sockaddr *address,
@@ -32,7 +33,8 @@ typedef void (*server_socket_callback_t)(int fd,
void *ctx);
struct server_socket *
-server_socket_new(server_socket_callback_t callback, void *callback_ctx);
+server_socket_new(EventLoop &loop,
+ server_socket_callback_t callback, void *callback_ctx);
void
server_socket_free(struct server_socket *ss);