30 #if APR_HAVE_NETINET_IN_H
31 #include <netinet/in.h>
47 #define APR_POLLIN 0x001
48 #define APR_POLLPRI 0x002
49 #define APR_POLLOUT 0x004
50 #define APR_POLLERR 0x010
51 #define APR_POLLHUP 0x020
52 #define APR_POLLNVAL 0x040
57 #define APR_POLLSET_THREADSAFE 0x001
60 #define APR_POLLSET_NOCOPY 0x002
63 #define APR_POLLSET_WAKEABLE 0x004
66 #define APR_POLLSET_NODEFAULT 0x010
Definition: apr_poll.h:102
struct apr_socket_t apr_socket_t
Definition: apr_network_io.h:218
apr_status_t apr_pollcb_create_ex(apr_pollcb_t **pollcb, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags, apr_pollset_method_e method)
Definition: apr_poll.h:95
Definition: apr_poll.h:86
apr_datatype_e desc_type
Definition: apr_poll.h:113
Definition: apr_poll.h:97
apr_status_t apr_pollset_remove(apr_pollset_t *pollset, const apr_pollfd_t *descriptor)
apr_pollset_method_e
Definition: apr_poll.h:83
Definition: apr_poll.h:85
APR File Handle Inheritance Helpers.
apr_status_t apr_pollset_create_ex(apr_pollset_t **pollset, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags, apr_pollset_method_e method)
apr_status_t apr_pollcb_create(apr_pollcb_t **pollcb, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags)
apr_datatype_e
Definition: apr_poll.h:94
apr_int64_t apr_interval_time_t
Definition: apr_time.h:56
apr_status_t apr_pollcb_add(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor)
apr_int16_t reqevents
Definition: apr_poll.h:114
apr_status_t(* apr_pollcb_cb_t)(void *baton, apr_pollfd_t *descriptor)
Definition: apr_poll.h:392
Definition: apr_poll.h:89
struct apr_file_t apr_file_t
Definition: apr_file_io.h:209
apr_pool_t * p
Definition: apr_poll.h:112
apr_status_t apr_pollset_wakeup(apr_pollset_t *pollset)
apr_descriptor desc
Definition: apr_poll.h:116
Definition: apr_poll.h:111
struct apr_pollset_t apr_pollset_t
Definition: apr_poll.h:126
APR Platform Definitions.
const char * apr_poll_method_defname(void)
Definition: apr_poll.h:88
const char * apr_pollset_method_name(apr_pollset_t *pollset)
apr_int16_t rtnevents
Definition: apr_poll.h:115
apr_status_t apr_pollset_destroy(apr_pollset_t *pollset)
apr_status_t apr_poll(apr_pollfd_t *aprset, apr_int32_t numsock, apr_int32_t *nsds, apr_interval_time_t timeout)
Definition: apr_poll.h:96
void * client_data
Definition: apr_poll.h:117
Definition: apr_poll.h:87
apr_status_t apr_pollset_create(apr_pollset_t **pollset, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags)
struct apr_pollcb_t apr_pollcb_t
Definition: apr_poll.h:320
Definition: apr_poll.h:84
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_status_t apr_pollcb_remove(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor)
int apr_status_t
Definition: apr_errno.h:44
apr_status_t apr_pollset_add(apr_pollset_t *pollset, const apr_pollfd_t *descriptor)
Definition: apr_poll.h:98
apr_status_t apr_pollset_poll(apr_pollset_t *pollset, apr_interval_time_t timeout, apr_int32_t *num, const apr_pollfd_t **descriptors)
apr_status_t apr_pollcb_poll(apr_pollcb_t *pollcb, apr_interval_time_t timeout, apr_pollcb_cb_t func, void *baton)
Definition: apr_poll.h:90