Apache HTTPD
Functions
sockopt.c File Reference
#include "apr_arch_networkio.h"
#include "apr_strings.h"

Go to the source code of this file.

Functions

static apr_status_t soblock (int sd)
 
static apr_status_t sononblock (int sd)
 
apr_status_t apr_socket_timeout_set (apr_socket_t *sock, apr_interval_time_t t)
 
apr_status_t apr_socket_opt_set (apr_socket_t *sock, apr_int32_t opt, apr_int32_t on)
 
apr_status_t apr_socket_timeout_get (apr_socket_t *sock, apr_interval_time_t *t)
 
apr_status_t apr_socket_opt_get (apr_socket_t *sock, apr_int32_t opt, apr_int32_t *on)
 
apr_status_t apr_socket_atmark (apr_socket_t *sock, int *atmark)
 
apr_status_t apr_gethostname (char *buf, apr_int32_t len, apr_pool_t *cont)
 
 APR_PERMS_SET_IMPLEMENT (socket)
 

Function Documentation

◆ apr_gethostname()

apr_status_t apr_gethostname ( char buf,
apr_int32_t  len,
apr_pool_t cont 
)

Definition at line 389 of file sockopt.c.

◆ APR_PERMS_SET_IMPLEMENT()

APR_PERMS_SET_IMPLEMENT ( socket  )

Definition at line 446 of file sockopt.c.

◆ apr_socket_atmark()

apr_status_t apr_socket_atmark ( apr_socket_t sock,
int atmark 
)

Definition at line 373 of file sockopt.c.

◆ apr_socket_opt_get()

apr_status_t apr_socket_opt_get ( apr_socket_t sock,
apr_int32_t  opt,
apr_int32_t on 
)

Definition at line 362 of file sockopt.c.

◆ apr_socket_opt_set()

apr_status_t apr_socket_opt_set ( apr_socket_t sock,
apr_int32_t  opt,
apr_int32_t  on 
)

Definition at line 113 of file sockopt.c.

◆ apr_socket_timeout_get()

apr_status_t apr_socket_timeout_get ( apr_socket_t sock,
apr_interval_time_t t 
)

Definition at line 355 of file sockopt.c.

◆ apr_socket_timeout_set()

apr_status_t apr_socket_timeout_set ( apr_socket_t sock,
apr_interval_time_t  t 
)

Definition at line 75 of file sockopt.c.

◆ soblock()

static apr_status_t soblock ( int  sd)
static

Definition at line 21 of file sockopt.c.

◆ sononblock()

static apr_status_t sononblock ( int  sd)
static

Definition at line 48 of file sockopt.c.