Apache HTTPD
Classes | Macros | Typedefs | Enumerations | Functions | Variables
apr_poll.h File Reference

APR Poll interface. More...

#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"

Go to the source code of this file.

Classes

union  apr_descriptor
 
struct  apr_pollfd_t
 

Macros

#define APR_POLLIN   0x001
 
#define APR_POLLPRI   0x002
 
#define APR_POLLOUT   0x004
 
#define APR_POLLERR   0x010
 
#define APR_POLLHUP   0x020
 
#define APR_POLLNVAL   0x040
 
#define APR_POLLSET_THREADSAFE   0x001
 
#define APR_POLLSET_NOCOPY   0x002
 
#define APR_POLLSET_WAKEABLE   0x004
 
#define APR_POLLSET_NODEFAULT   0x010
 

Typedefs

typedef struct apr_pollfd_t apr_pollfd_t
 
typedef struct apr_pollset_t apr_pollset_t
 
typedef struct apr_pollcb_t apr_pollcb_t
 
typedef apr_status_t(* apr_pollcb_cb_t) (void *baton, apr_pollfd_t *descriptor)
 

Enumerations

enum  apr_pollset_method_e {
  APR_POLLSET_DEFAULT , APR_POLLSET_SELECT , APR_POLLSET_KQUEUE , APR_POLLSET_PORT ,
  APR_POLLSET_EPOLL , APR_POLLSET_POLL , APR_POLLSET_AIO_MSGQ
}
 
enum  apr_datatype_e { APR_NO_DESC , APR_POLL_SOCKET , APR_POLL_FILE , APR_POLL_LASTDESC }
 

Functions

 APR_DECLARE (apr_status_t) apr_pollset_create(apr_pollset_t **pollset
 
 APR_DECLARE (const char *) apr_pollset_method_name(apr_pollset_t *pollset)
 

Variables

apr_uint32_t size
 
apr_uint32_t apr_pool_tp
 
apr_uint32_t apr_pool_t apr_uint32_t flags
 
apr_uint32_t apr_pool_t apr_uint32_t apr_pollset_method_e method
 
const apr_pollfd_tdescriptor
 
apr_interval_time_t timeout
 
apr_interval_time_t apr_int32_tnum
 
apr_interval_time_t apr_int32_t const apr_pollfd_t ** descriptors
 
apr_int32_t numsock
 
apr_int32_t apr_int32_tnsds
 
apr_interval_time_t apr_pollcb_cb_t func
 
apr_interval_time_t apr_pollcb_cb_t void * baton
 

Detailed Description

APR Poll interface.

Definition in file apr_poll.h.