Apache2
apr_arch_networkio.h File Reference
#include "apr_network_io.h"
#include "apr_general.h"
#include "apr_poll.h"
Include dependency graph for apr_arch_networkio.h:

Go to the source code of this file.

Data Structures

struct  sock_userdata_t
 
struct  apr_socket_t
 

Macros

#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)
 
apr_status_t apr_socket_pipe_create (apr_socket_t **in, apr_socket_t **out, apr_pool_t *p)
 
apr_status_t apr_socket_pipe_close (apr_socket_t *socket)
 

Macro Definition Documentation

◆ apr_is_option_set

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

◆ apr_set_option

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

Typedef Documentation

◆ sock_userdata_t

Function Documentation

◆ apr_inet_ntop()

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

◆ apr_inet_pton()

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

◆ apr_sockaddr_vars_set()

void apr_sockaddr_vars_set ( apr_sockaddr_t ,
int  ,
apr_port_t   
)

◆ apr_socket_pipe_close()

apr_status_t apr_socket_pipe_close ( apr_socket_t socket)

◆ apr_socket_pipe_create()

apr_status_t apr_socket_pipe_create ( apr_socket_t **  in,
apr_socket_t **  out,
apr_pool_t p 
)