aboutsummaryrefslogtreecommitdiff
path: root/src/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket.h')
-rw-r--r--src/socket.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/socket.h b/src/socket.h
index de5d79f..debb13a 100644
--- a/src/socket.h
+++ b/src/socket.h
@@ -68,6 +68,9 @@ const char *socket_strerror(int err);
68int socket_send(p_socket ps, const char *data, size_t count, 68int socket_send(p_socket ps, const char *data, size_t count,
69 size_t *sent, p_timeout tm); 69 size_t *sent, p_timeout tm);
70int socket_recv(p_socket ps, char *data, size_t count, size_t *got, p_timeout tm); 70int socket_recv(p_socket ps, char *data, size_t count, size_t *got, p_timeout tm);
71int socket_write(p_socket ps, const char *data, size_t count,
72 size_t *sent, p_timeout tm);
73int socket_read(p_socket ps, char *data, size_t count, size_t *got, p_timeout tm);
71const char *socket_ioerror(p_socket ps, int err); 74const char *socket_ioerror(p_socket ps, int err);
72 75
73int socket_gethostbyaddr(const char *addr, socklen_t len, struct hostent **hp); 76int socket_gethostbyaddr(const char *addr, socklen_t len, struct hostent **hp);