Apache HTTPD
Classes | Macros | Typedefs | Functions
apr_arch_networkio.h File Reference
#include "apr_private.h"
#include "apr_network_io.h"
#include "apr_general.h"
#include "apr_arch_os2calls.h"
#include "apr_poll.h"

Go to the source code of this file.

Classes

struct  sock_userdata_t
 
struct  apr_socket_t
 

Macros

#define SOCBASEERR   10000
 
#define SOCEPERM   (SOCBASEERR+1) /* Not owner */
 
#define SOCESRCH   (SOCBASEERR+3) /* No such process */
 
#define SOCEINTR   (SOCBASEERR+4) /* Interrupted system call */
 
#define SOCENXIO   (SOCBASEERR+6) /* No such device or address */
 
#define SOCEBADF   (SOCBASEERR+9) /* Bad file number */
 
#define SOCEACCES   (SOCBASEERR+13) /* Permission denied */
 
#define SOCEFAULT   (SOCBASEERR+14) /* Bad address */
 
#define SOCEINVAL   (SOCBASEERR+22) /* Invalid argument */
 
#define SOCEMFILE   (SOCBASEERR+24) /* Too many open files */
 
#define SOCEPIPE   (SOCBASEERR+32) /* Broken pipe */
 
#define SOCEOS2ERR   (SOCBASEERR+100) /* OS/2 Error */
 

Typedefs

typedef struct sock_userdata_t sock_userdata_t
 

Functions

const charapr_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)
 

Macro Definition Documentation

◆ SOCBASEERR

#define SOCBASEERR   10000

Definition at line 58 of file apr_arch_networkio.h.

◆ SOCEACCES

#define SOCEACCES   (SOCBASEERR+13) /* Permission denied */

Definition at line 64 of file apr_arch_networkio.h.

◆ SOCEBADF

#define SOCEBADF   (SOCBASEERR+9) /* Bad file number */

Definition at line 63 of file apr_arch_networkio.h.

◆ SOCEFAULT

#define SOCEFAULT   (SOCBASEERR+14) /* Bad address */

Definition at line 65 of file apr_arch_networkio.h.

◆ SOCEINTR

#define SOCEINTR   (SOCBASEERR+4) /* Interrupted system call */

Definition at line 61 of file apr_arch_networkio.h.

◆ SOCEINVAL

#define SOCEINVAL   (SOCBASEERR+22) /* Invalid argument */

Definition at line 66 of file apr_arch_networkio.h.

◆ SOCEMFILE

#define SOCEMFILE   (SOCBASEERR+24) /* Too many open files */

Definition at line 67 of file apr_arch_networkio.h.

◆ SOCENXIO

#define SOCENXIO   (SOCBASEERR+6) /* No such device or address */

Definition at line 62 of file apr_arch_networkio.h.

◆ SOCEOS2ERR

#define SOCEOS2ERR   (SOCBASEERR+100) /* OS/2 Error */

Definition at line 69 of file apr_arch_networkio.h.

◆ SOCEPERM

#define SOCEPERM   (SOCBASEERR+1) /* Not owner */

Definition at line 59 of file apr_arch_networkio.h.

◆ SOCEPIPE

#define SOCEPIPE   (SOCBASEERR+32) /* Broken pipe */

Definition at line 68 of file apr_arch_networkio.h.

◆ SOCESRCH

#define SOCESRCH   (SOCBASEERR+3) /* No such process */

Definition at line 60 of file apr_arch_networkio.h.

Typedef Documentation

◆ sock_userdata_t

Definition at line 30 of file apr_arch_networkio.h.

Function Documentation

◆ apr_inet_ntop()

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

Definition at line 74 of file inet_ntop.c.

◆ apr_inet_pton()

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

Definition at line 79 of file inet_pton.c.

◆ apr_sockaddr_vars_set()

void apr_sockaddr_vars_set ( apr_sockaddr_t addr,
int  family,
apr_port_t  port 
)

Definition at line 180 of file sockaddr.c.