50 #ifdef HAVE_SYS_SELECT_H
51 #include <sys/select.h>
60 #define PF_INET AF_INET
63 #define PF_INET6 AF_INET6
205 const sigset_t* sigmask);
220 void timespec_add(
struct timespec* left,
const struct timespec* right);
void netio_remove_handler(netio_type *netio, netio_handler_type *handler)
netio_handler_list_type * handlers
netio_handler_type * handler
enum netio_events_enum netio_events_type
netio_type * netio_create(allocator_type *allocator)
netio_handler_list_type * next
const struct timespec * netio_current_time(netio_type *netio)
struct timespec cached_current_time
void netio_cleanup(netio_type *netio)
allocator_type * allocator
netio_event_handler_type event_handler
void netio_add_handler(netio_type *netio, netio_handler_type *handler)
netio_handler_list_type * deallocated
void(* netio_event_handler_type)(netio_type *netio, netio_handler_type *handler, netio_events_type event_types)
netio_events_type event_types
void timespec_add(struct timespec *left, const struct timespec *right)
int netio_dispatch(netio_type *netio, const struct timespec *timeout, const sigset_t *sigmask)
struct timespec * timeout
netio_handler_list_type * dispatch_next