diff options
Diffstat (limited to 'netio.h')
-rw-r--r-- | netio.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,11 +4,10 @@ #include <stdint.h> #include <stdbool.h> -void netio_init(void); - +int netio_listen(uint16_t port); int netio_accept(int sock); int netio_read(int conn, void *buf, size_t count); int netio_write(int conn, void *buf, size_t count); int netio_close(int conn, bool rd, bool wr); -#endef /* _NETIO_H_ */ +#endif /* _NETIO_H_ */ |