picotm
0.5.0
|
Transactional wrappers for interfaces of <sys/socket.h>. More...
Functions | |
PICOTM_NOTHROW int | accept_tx (int socket, struct sockaddr *address, socklen_t *address_len) |
PICOTM_NOTHROW int | bind_tx (int socket, const struct sockaddr *address, socklen_t address_len) |
PICOTM_NOTHROW int | connect_tx (int socket, const struct sockaddr *address, socklen_t address_len) |
PICOTM_NOTHROW int | listen_tx (int socket, int backlog) |
PICOTM_NOTHROW ssize_t | send_tx (int socket, const void *buffer, size_t length, int flags) |
PICOTM_NOTHROW int | shutdown_tx (int socket, int how) |
PICOTM_NOTHROW int | socket_tx (int domain, int type, int protocol) |
PICOTM_NOTHROW ssize_t | recv_tx (int socket, void *buffer, size_t length, int flags) |
PICOTM_NOTHROW int accept_tx | ( | int | socket, |
struct sockaddr * | address, | ||
socklen_t * | address_len | ||
) |
A transaction-safe implementation of accept().
PICOTM_NOTHROW int bind_tx | ( | int | socket, |
const struct sockaddr * | address, | ||
socklen_t | address_len | ||
) |
A transaction-safe implementation of bind().
PICOTM_NOTHROW int connect_tx | ( | int | socket, |
const struct sockaddr * | address, | ||
socklen_t | address_len | ||
) |
A transaction-safe implementation of connect().
PICOTM_NOTHROW int listen_tx | ( | int | socket, |
int | backlog | ||
) |
A transaction-safe implementation of listen().
PICOTM_NOTHROW ssize_t recv_tx | ( | int | socket, |
void * | buffer, | ||
size_t | length, | ||
int | flags | ||
) |
A transaction-safe implementation of recv().
PICOTM_NOTHROW ssize_t send_tx | ( | int | socket, |
const void * | buffer, | ||
size_t | length, | ||
int | flags | ||
) |
A transaction-safe implementation of send().
PICOTM_NOTHROW int shutdown_tx | ( | int | socket, |
int | how | ||
) |
A transaction-safe implementation of shutdown().
PICOTM_NOTHROW int socket_tx | ( | int | domain, |
int | type, | ||
int | protocol | ||
) |
A transaction-safe implementation of socket().