GME  13
Classes | Defines | Typedefs | Functions
apr_arch_networkio.h File Reference

Go to the source code of this file.

Classes

struct  sock_userdata_t
struct  apr_socket_t

Defines

#define POLLIN   1
#define POLLPRI   2
#define POLLOUT   4
#define POLLERR   8
#define POLLHUP   16
#define POLLNVAL   32
#define apr_is_option_set(skt, option)   (((skt)->options & (option)) == (option))
#define apr_set_option(skt, option, on)

Typedefs

typedef struct sock_userdata_t sock_userdata_t

Functions

const char * apr_inet_ntop (int af, const void *src, char *dst, apr_size_t size)
int apr_inet_pton (int af, const char *src, void *dst)
void apr_sockaddr_vars_set (apr_sockaddr_t *, int, apr_port_t)

Define Documentation

#define apr_is_option_set (   skt,
  option 
)    (((skt)->options & (option)) == (option))

Definition at line 130 of file unix/apr_arch_networkio.h.

#define apr_set_option (   skt,
  option,
  on 
)
Value:
do {                                 \
        if (on)                          \
            (skt)->options |= (option);         \
        else                             \
            (skt)->options &= ~(option);        \
    } while (0)

Definition at line 133 of file unix/apr_arch_networkio.h.

#define POLLERR   8

Definition at line 91 of file unix/apr_arch_networkio.h.

#define POLLHUP   16

Definition at line 92 of file unix/apr_arch_networkio.h.

#define POLLIN   1

Definition at line 88 of file unix/apr_arch_networkio.h.

#define POLLNVAL   32

Definition at line 93 of file unix/apr_arch_networkio.h.

#define POLLOUT   4

Definition at line 90 of file unix/apr_arch_networkio.h.

#define POLLPRI   2

Definition at line 89 of file unix/apr_arch_networkio.h.


Typedef Documentation

Definition at line 96 of file unix/apr_arch_networkio.h.


Function Documentation

const char* apr_inet_ntop ( int  af,
const void *  src,
char *  dst,
apr_size_t  size 
)
int apr_inet_pton ( int  af,
const char *  src,
void *  dst 
)