Libevhtp  0.3.7
Public Member Functions | Data Fields
evhtp_s Struct Reference

main structure containing all configuration information More...

#include <evhtp.h>

Public Member Functions

 TAILQ_HEAD (, evhtp_alias_s) aliases
 
 TAILQ_HEAD (, evhtp_s) vhosts
 
 TAILQ_ENTRY (evhtp_s) next_vhost
 

Data Fields

evhtp_tparent
 
evbase_t * evbase
 
evserv_tserver
 
char * server_name
 
void * arg
 
int bev_flags
 
uint64_t max_body_size
 
uint64_t max_keepalive_requests
 
int disable_100_cont
 
int parser_flags
 
evhtp_ssl_ctx_tssl_ctx
 
evhtp_ssl_cfg_tssl_cfg
 
evthr_pool_t * thr_pool
 
pthread_mutex_t * lock
 
evhtp_thread_init_cb thread_init_cb
 
void * thread_init_cbarg
 
evhtp_callbacks_tcallbacks
 
evhtp_defaults_t defaults
 
struct timeval recv_timeo
 
struct timeval send_timeo
 

Detailed Description

main structure containing all configuration information

Definition at line 275 of file evhtp.h.

Member Function Documentation

TAILQ_ENTRY ( evhtp_s  )
TAILQ_HEAD ( evhtp_alias_s  )
TAILQ_HEAD ( evhtp_s  )

Field Documentation

void* arg

user-defined evhtp_t specific arguments

Definition at line 280 of file evhtp.h.

int bev_flags

bufferevent flags to use on bufferevent_*_socket_new()

Definition at line 281 of file evhtp.h.

evhtp_callbacks_t* callbacks

Definition at line 301 of file evhtp.h.

evhtp_defaults_t defaults

Definition at line 302 of file evhtp.h.

int disable_100_cont

if set, evhtp will not respond to Expect: 100-continue

Definition at line 284 of file evhtp.h.

evbase_t* evbase

the initialized event_base

Definition at line 277 of file evhtp.h.

pthread_mutex_t* lock

parent lock for add/del cbs in threads

Definition at line 297 of file evhtp.h.

uint64_t max_body_size

Definition at line 282 of file evhtp.h.

uint64_t max_keepalive_requests

Definition at line 283 of file evhtp.h.

evhtp_t* parent

only when this is a vhost

Definition at line 276 of file evhtp.h.

int parser_flags

default query flags to alter 'strictness' (see EVHTP_PARSE_QUERY_FLAG_*)

Definition at line 285 of file evhtp.h.

struct timeval recv_timeo

Definition at line 304 of file evhtp.h.

struct timeval send_timeo

Definition at line 305 of file evhtp.h.

evserv_t* server

the libevent listener struct

Definition at line 278 of file evhtp.h.

char* server_name

the name included in Host: responses

Definition at line 279 of file evhtp.h.

evhtp_ssl_cfg_t* ssl_cfg

Definition at line 289 of file evhtp.h.

evhtp_ssl_ctx_t* ssl_ctx

if ssl enabled, this is the servers CTX

Definition at line 288 of file evhtp.h.

evthr_pool_t* thr_pool

connection threadpool

Definition at line 293 of file evhtp.h.

evhtp_thread_init_cb thread_init_cb

Definition at line 298 of file evhtp.h.

void* thread_init_cbarg

Definition at line 299 of file evhtp.h.


The documentation for this struct was generated from the following file: