Tor
0.4.7.0-alpha-dev
|
Header for alertsock.c. More...
Go to the source code of this file.
Data Structures | |
struct | alert_sockets_t |
Macros | |
#define | ASOCKS_NOEVENTFD2 (1u<<0) |
#define | ASOCKS_NOEVENTFD (1u<<1) |
#define | ASOCKS_NOPIPE2 (1u<<2) |
#define | ASOCKS_NOPIPE (1u<<3) |
#define | ASOCKS_NOSOCKETPAIR (1u<<4) |
Functions | |
int | alert_sockets_create (alert_sockets_t *socks_out, uint32_t flags) |
void | alert_sockets_close (alert_sockets_t *socks) |
Header for alertsock.c.
Definition in file alertsock.h.
void alert_sockets_close | ( | alert_sockets_t * | socks | ) |
Close the sockets in socks.
Definition at line 283 of file alertsock.c.
int alert_sockets_create | ( | alert_sockets_t * | socks_out, |
uint32_t | flags | ||
) |
Allocate a new set of alert sockets, and set the appropriate function pointers, in socks_out.
Definition at line 191 of file alertsock.c.