#include "apr.h"
#include "apr_pools.h"
#include "apr_errno.h"
#include "apr_inherit.h"
#include "apr_file_io.h"
#include "apr_network_io.h"
#include <netinet/in.h>
Go to the source code of this file.
Data Structures | |
union | apr_descriptor |
struct | apr_pollfd_t |
Defines | |
#define | APR_POLLIN 0x001 /**< Can read without blocking */ |
#define | APR_POLLPRI 0x002 /**< Priority data available */ |
#define | APR_POLLOUT 0x004 /**< Can write without blocking */ |
#define | APR_POLLERR 0x010 /**< Pending error */ |
#define | APR_POLLHUP 0x020 /**< Hangup occurred */ |
#define | APR_POLLNVAL 0x040 /**< Descriptior invalid */ |
Typedefs | |
typedef apr_pollfd_t | apr_pollfd_t |
typedef apr_pollset_t | apr_pollset_t |
Enumerations | |
enum | apr_datatype_e { APR_NO_DESC, APR_POLL_SOCKET, APR_POLL_FILE, APR_POLL_LASTDESC } |
Functions | |
apr_status_t | apr_poll_setup (apr_pollfd_t **new_poll, apr_int32_t num, apr_pool_t *cont) |
apr_status_t | apr_poll (apr_pollfd_t *aprset, apr_int32_t numsock, apr_int32_t *nsds, apr_interval_time_t timeout) |
apr_status_t | apr_poll_socket_add (apr_pollfd_t *aprset, apr_socket_t *sock, apr_int16_t event) |
apr_status_t | apr_poll_socket_mask (apr_pollfd_t *aprset, apr_socket_t *sock, apr_int16_t events) |
apr_status_t | apr_poll_socket_remove (apr_pollfd_t *aprset, apr_socket_t *sock) |
apr_status_t | apr_poll_socket_clear (apr_pollfd_t *aprset, apr_int16_t events) |
apr_status_t | apr_poll_revents_get (apr_int16_t *event, apr_socket_t *sock, apr_pollfd_t *aprset) |
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_destroy (apr_pollset_t *pollset) |
apr_status_t | apr_pollset_add (apr_pollset_t *pollset, const apr_pollfd_t *descriptor) |
apr_status_t | apr_pollset_remove (apr_pollset_t *pollset, const apr_pollfd_t *descriptor) |
apr_status_t | apr_pollset_poll (apr_pollset_t *pollset, apr_interval_time_t timeout, apr_int32_t *num, const apr_pollfd_t **descriptors) |