diff options
Diffstat (limited to 'librabbitmq/win32/socket.h')
-rw-r--r-- | librabbitmq/win32/socket.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/librabbitmq/win32/socket.h b/librabbitmq/win32/socket.h index 58e1a99..cddbee5 100644 --- a/librabbitmq/win32/socket.h +++ b/librabbitmq/win32/socket.h @@ -52,18 +52,22 @@ amqp_socket_init(void); #define amqp_socket_socket socket +char * +amqp_os_error_string(int err); + int -amqp_socket_close(int sockfd, AMQP_UNUSED void *user_data); +amqp_socket_setsockopt(int sock, int level, int optname, + const void *optval, size_t optlen); int -amqp_socket_setsockopt(int sock, int level, int optname, const void *optval, - size_t optlen); +amqp_os_socket_close(int sockfd); + ssize_t -amqp_socket_writev(int sock, struct iovec *iov, int nvecs, AMQP_UNUSED void *user_data); +amqp_os_socket_writev(int sock, struct iovec *iov, int nvecs); int -amqp_socket_error(AMQP_UNUSED void *user_data); +amqp_os_socket_error(void); #ifndef MSG_NOSIGNAL # define MSG_NOSIGNAL 0x0 |