12 #ifndef TOR_ALERTSOCK_H
13 #define TOR_ALERTSOCK_H
36 #define ASOCKS_NOEVENTFD2 (1u<<0)
37 #define ASOCKS_NOEVENTFD (1u<<1)
38 #define ASOCKS_NOPIPE2 (1u<<2)
39 #define ASOCKS_NOPIPE (1u<<3)
40 #define ASOCKS_NOSOCKETPAIR (1u<<4)
int alert_sockets_create(alert_sockets_t *socks_out, uint32_t flags)
void alert_sockets_close(alert_sockets_t *socks)
Declarations for types used throughout the Tor networking system.
int(* alert_fn)(tor_socket_t write_fd)
int(* drain_fn)(tor_socket_t read_fd)
Integer definitions used throughout Tor.