aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/net.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 3151cba..618dbc3 100644
--- a/src/net.h
+++ b/src/net.h
@@ -14,6 +14,7 @@
int net_bind(const char *port);
int net_accept(int fd);
int net_connect(const char *host, const char *port);
+void net_close(int fd);
int net_send(int fd, const void *, size_t);
int net_recv(int fd, void *, size_t);