aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/net.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-15 19:29:38 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-15 19:29:38 +0200
commit08ec536277a78ffd97ebfc6330966603c9bb41ef (patch)
tree8b3d2003084823589d06ae3ed7c6f6df9cb6ba0e /src/net.h
parentmsg: strings, not words (diff)
downloadcimple-08ec536277a78ffd97ebfc6330966603c9bb41ef.tar.gz
cimple-08ec536277a78ffd97ebfc6330966603c9bb41ef.zip
net: drop the _all suffix
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.h b/src/net.h
index a8acb57..3151cba 100644
--- a/src/net.h
+++ b/src/net.h
@@ -15,8 +15,8 @@ int net_bind(const char *port);
int net_accept(int fd);
int net_connect(const char *host, const char *port);
-int net_send_all(int fd, const void *, size_t);
-int net_recv_all(int fd, void *, size_t);
+int net_send(int fd, const void *, size_t);
+int net_recv(int fd, void *, size_t);
struct buf;