diff options
Diffstat (limited to 'src/socket.h')
-rw-r--r-- | src/socket.h | 3 |
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); | |||
68 | int socket_send(p_socket ps, const char *data, size_t count, | 68 | int 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); |
70 | int socket_recv(p_socket ps, char *data, size_t count, size_t *got, p_timeout tm); | 70 | int socket_recv(p_socket ps, char *data, size_t count, size_t *got, p_timeout tm); |
71 | int socket_write(p_socket ps, const char *data, size_t count, | ||
72 | size_t *sent, p_timeout tm); | ||
73 | int socket_read(p_socket ps, char *data, size_t count, size_t *got, p_timeout tm); | ||
71 | const char *socket_ioerror(p_socket ps, int err); | 74 | const char *socket_ioerror(p_socket ps, int err); |
72 | 75 | ||
73 | int socket_gethostbyaddr(const char *addr, socklen_t len, struct hostent **hp); | 76 | int socket_gethostbyaddr(const char *addr, socklen_t len, struct hostent **hp); |