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 e325952..63573de 100644 --- a/src/socket.h +++ b/src/socket.h | |||
| @@ -67,6 +67,9 @@ const char *socket_strerror(int err); | |||
| 67 | int socket_send(p_socket ps, const char *data, size_t count, | 67 | int socket_send(p_socket ps, const char *data, size_t count, |
| 68 | size_t *sent, p_timeout tm); | 68 | size_t *sent, p_timeout tm); |
| 69 | int socket_recv(p_socket ps, char *data, size_t count, size_t *got, p_timeout tm); | 69 | int socket_recv(p_socket ps, char *data, size_t count, size_t *got, p_timeout tm); |
| 70 | int socket_write(p_socket ps, const char *data, size_t count, | ||
| 71 | size_t *sent, p_timeout tm); | ||
| 72 | int socket_read(p_socket ps, char *data, size_t count, size_t *got, p_timeout tm); | ||
| 70 | const char *socket_ioerror(p_socket ps, int err); | 73 | const char *socket_ioerror(p_socket ps, int err); |
| 71 | 74 | ||
| 72 | int socket_gethostbyaddr(const char *addr, socklen_t len, struct hostent **hp); | 75 | int socket_gethostbyaddr(const char *addr, socklen_t len, struct hostent **hp); |
