34 # include <WinSock2.h>
40 amqp_os_socket_error(
void);
43 amqp_os_socket_close(
int sockfd);
46 typedef ssize_t (*amqp_socket_writev_fn)(
void *,
struct iovec *, int);
47 typedef ssize_t (*amqp_socket_send_fn)(
void *,
const void *, size_t);
48 typedef ssize_t (*amqp_socket_recv_fn)(
void *,
void *, size_t, int);
49 typedef int (*amqp_socket_open_fn)(
void *,
const char *, int,
struct timeval *);
50 typedef int (*amqp_socket_close_fn)(
void *);
51 typedef int (*amqp_socket_get_sockfd_fn)(
void *);
52 typedef void (*amqp_socket_delete_fn)(
void *);
56 amqp_socket_writev_fn writev;
57 amqp_socket_send_fn send;
58 amqp_socket_recv_fn recv;
59 amqp_socket_open_fn open;
60 amqp_socket_close_fn close;
61 amqp_socket_get_sockfd_fn get_sockfd;
62 amqp_socket_delete_fn
delete;
109 amqp_socket_writev(amqp_socket_t *
self,
struct iovec *iov,
int iovcnt);
126 amqp_socket_send(amqp_socket_t *
self,
const void *buf,
size_t len);
141 amqp_socket_recv(amqp_socket_t *
self,
void *buf,
size_t len,
int flags);
155 amqp_socket_close(amqp_socket_t *
self);
163 amqp_socket_delete(amqp_socket_t *
self);
180 amqp_open_socket_noblock(
char const *hostname,
int portnumber,
struct timeval *timeout);
uint16_t amqp_channel_t
Channel type.
Definition: amqp.h:370
V-table for amqp_socket_t.
Definition: amqp_socket.h:55
An AMQP frame.
Definition: amqp.h:571
Abstract base class for amqp_socket_t.
Definition: amqp_socket.h:66
struct amqp_connection_state_t_ * amqp_connection_state_t
connection state object
Definition: amqp.h:644