30#if APR_HAVE_NETINET_IN_H
31#include <netinet/in.h>
49#define APR_POLLIN 0x001
50#define APR_POLLPRI 0x002
51#define APR_POLLOUT 0x004
52#define APR_POLLERR 0x010
53#define APR_POLLHUP 0x020
54#define APR_POLLNVAL 0x040
62#define APR_POLLSET_THREADSAFE 0x001
65#define APR_POLLSET_NOCOPY 0x002
68#define APR_POLLSET_WAKEABLE 0x004
71#define APR_POLLSET_NODEFAULT 0x010
APR Platform Definitions.
APR File Handle Inheritance Helpers.
int apr_status_t
Definition: apr_errno.h:44
struct apr_file_t apr_file_t
Definition: apr_file_io.h:188
struct apr_socket_t apr_socket_t
Definition: apr_network_io.h:219
apr_datatype_e
Definition: apr_poll.h:91
const char * apr_pollcb_method_name(apr_pollcb_t *pollcb)
apr_status_t apr_pollcb_poll(apr_pollcb_t *pollcb, apr_interval_time_t timeout, apr_pollcb_cb_t func, void *baton)
apr_status_t(* apr_pollcb_cb_t)(void *baton, apr_pollfd_t *descriptor)
Definition: apr_poll.h:401
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)
apr_status_t apr_pollset_remove(apr_pollset_t *pollset, const apr_pollfd_t *descriptor)
apr_status_t apr_pollset_create(apr_pollset_t **pollset, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags)
apr_status_t apr_pollset_add(apr_pollset_t *pollset, const apr_pollfd_t *descriptor)
const char * apr_poll_method_defname(void)
const char * apr_pollset_method_name(apr_pollset_t *pollset)
struct apr_pollset_t apr_pollset_t
Definition: apr_poll.h:123
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_create(apr_pollcb_t **pollcb, apr_uint32_t size, apr_pool_t *p, apr_uint32_t flags)
apr_status_t apr_pollcb_add(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor)
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_pollset_destroy(apr_pollset_t *pollset)
apr_pollset_method_e
Definition: apr_poll.h:80
apr_status_t apr_pollset_wakeup(apr_pollset_t *pollset)
apr_status_t apr_pollcb_wakeup(apr_pollcb_t *pollcb)
apr_status_t apr_pollcb_remove(apr_pollcb_t *pollcb, apr_pollfd_t *descriptor)
apr_status_t apr_poll(apr_pollfd_t *aprset, apr_int32_t numsock, apr_int32_t *nsds, apr_interval_time_t timeout)
struct apr_pollcb_t apr_pollcb_t
Definition: apr_poll.h:317
@ APR_POLL_SOCKET
Definition: apr_poll.h:93
@ APR_POLL_LASTDESC
Definition: apr_poll.h:95
@ APR_POLL_FILE
Definition: apr_poll.h:94
@ APR_NO_DESC
Definition: apr_poll.h:92
@ APR_POLLSET_EPOLL
Definition: apr_poll.h:85
@ APR_POLLSET_KQUEUE
Definition: apr_poll.h:83
@ APR_POLLSET_SELECT
Definition: apr_poll.h:82
@ APR_POLLSET_POLL
Definition: apr_poll.h:86
@ APR_POLLSET_AIO_MSGQ
Definition: apr_poll.h:87
@ APR_POLLSET_DEFAULT
Definition: apr_poll.h:81
@ APR_POLLSET_PORT
Definition: apr_poll.h:84
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
apr_int64_t apr_interval_time_t
Definition: apr_time.h:55
Definition: apr_poll.h:108
void * client_data
Definition: apr_poll.h:114
apr_int16_t reqevents
Definition: apr_poll.h:111
apr_datatype_e desc_type
Definition: apr_poll.h:110
apr_descriptor desc
Definition: apr_poll.h:113
apr_pool_t * p
Definition: apr_poll.h:109
apr_int16_t rtnevents
Definition: apr_poll.h:112
Definition: apr_poll.h:99
apr_socket_t * s
Definition: apr_poll.h:101
apr_file_t * f
Definition: apr_poll.h:100