aboutsummaryrefslogtreecommitdiff
path: root/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'server.h')
-rw-r--r--server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.h b/server.h
index 74189db..74f06ae 100644
--- a/server.h
+++ b/server.h
@@ -5,7 +5,7 @@
#include <stddef.h>
struct server *server_init(unsigned short port);
-struct server_client *server_select(struct server *s, bool *io, bool *exit);
+struct server_client *server_poll(struct server *s, bool *io, bool *exit);
int server_read(void *buf, size_t n, struct server_client *c);
int server_write(const void *buf, size_t n, struct server_client *c);
int server_close(struct server *s);