Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
h2_config.h File Reference

Go to the source code of this file.

Data Structures

struct  h2_push_res
 

Typedefs

typedef struct h2_push_res h2_push_res
 

Enumerations

enum  h2_config_var_t {
  H2_CONF_MAX_STREAMS, H2_CONF_WIN_SIZE, H2_CONF_MIN_WORKERS, H2_CONF_MAX_WORKERS,
  H2_CONF_MAX_WORKER_IDLE_SECS, H2_CONF_STREAM_MAX_MEM, H2_CONF_ALT_SVCS, H2_CONF_ALT_SVC_MAX_AGE,
  H2_CONF_SER_HEADERS, H2_CONF_DIRECT, H2_CONF_MODERN_TLS_ONLY, H2_CONF_UPGRADE,
  H2_CONF_TLS_WARMUP_SIZE, H2_CONF_TLS_COOLDOWN_SECS, H2_CONF_PUSH, H2_CONF_PUSH_DIARY_SIZE,
  H2_CONF_COPY_FILES, H2_CONF_EARLY_HINTS, H2_CONF_PADDING_BITS, H2_CONF_PADDING_ALWAYS
}
 

Functions

voidh2_config_create_dir (apr_pool_t *pool, char *x)
 
voidh2_config_merge_dir (apr_pool_t *pool, void *basev, void *addv)
 
voidh2_config_create_svr (apr_pool_t *pool, server_rec *s)
 
voidh2_config_merge_svr (apr_pool_t *pool, void *basev, void *addv)
 
int h2_config_geti (request_rec *r, server_rec *s, h2_config_var_t var)
 
apr_int64_t h2_config_geti64 (request_rec *r, server_rec *s, h2_config_var_t var)
 
int h2_config_cgeti (conn_rec *c, h2_config_var_t var)
 
apr_int64_t h2_config_cgeti64 (conn_rec *c, h2_config_var_t var)
 
int h2_config_sgeti (server_rec *s, h2_config_var_t var)
 
apr_int64_t h2_config_sgeti64 (server_rec *s, h2_config_var_t var)
 
int h2_config_rgeti (request_rec *r, h2_config_var_t var)
 
apr_int64_t h2_config_rgeti64 (request_rec *r, h2_config_var_t var)
 
apr_array_header_th2_config_push_list (request_rec *r)
 
apr_array_header_th2_config_alt_svcs (request_rec *r)
 
void h2_get_num_workers (server_rec *s, int *minw, int *maxw)
 
void h2_config_init (apr_pool_t *pool)
 
const struct h2_priorityh2_cconfig_get_priority (conn_rec *c, const char *content_type)
 

Variables

const command_rec h2_cmds []
 

Typedef Documentation

typedef struct h2_push_res h2_push_res

Enumeration Type Documentation

Enumerator
H2_CONF_MAX_STREAMS 
H2_CONF_WIN_SIZE 
H2_CONF_MIN_WORKERS 
H2_CONF_MAX_WORKERS 
H2_CONF_MAX_WORKER_IDLE_SECS 
H2_CONF_STREAM_MAX_MEM 
H2_CONF_ALT_SVCS 
H2_CONF_ALT_SVC_MAX_AGE 
H2_CONF_SER_HEADERS 
H2_CONF_DIRECT 
H2_CONF_MODERN_TLS_ONLY 
H2_CONF_UPGRADE 
H2_CONF_TLS_WARMUP_SIZE 
H2_CONF_TLS_COOLDOWN_SECS 
H2_CONF_PUSH 
H2_CONF_PUSH_DIARY_SIZE 
H2_CONF_COPY_FILES 
H2_CONF_EARLY_HINTS 
H2_CONF_PADDING_BITS 
H2_CONF_PADDING_ALWAYS 

Function Documentation

const struct h2_priority* h2_cconfig_get_priority ( conn_rec c,
const char *  content_type 
)
apr_array_header_t* h2_config_alt_svcs ( request_rec r)
int h2_config_cgeti ( conn_rec c,
h2_config_var_t  var 
)

Get the configured value for variable at the given connection.

apr_int64_t h2_config_cgeti64 ( conn_rec c,
h2_config_var_t  var 
)
void* h2_config_create_dir ( apr_pool_t pool,
char *  x 
)
void* h2_config_create_svr ( apr_pool_t pool,
server_rec s 
)
int h2_config_geti ( request_rec r,
server_rec s,
h2_config_var_t  var 
)
apr_int64_t h2_config_geti64 ( request_rec r,
server_rec s,
h2_config_var_t  var 
)
void h2_config_init ( apr_pool_t pool)
void* h2_config_merge_dir ( apr_pool_t pool,
void basev,
void addv 
)
void* h2_config_merge_svr ( apr_pool_t pool,
void basev,
void addv 
)
apr_array_header_t* h2_config_push_list ( request_rec r)
int h2_config_rgeti ( request_rec r,
h2_config_var_t  var 
)

Get the configured value for variable at the given request, if configured for the request location. Fallback to request server config otherwise.

apr_int64_t h2_config_rgeti64 ( request_rec r,
h2_config_var_t  var 
)
int h2_config_sgeti ( server_rec s,
h2_config_var_t  var 
)

Get the configured value for variable at the given server.

apr_int64_t h2_config_sgeti64 ( server_rec s,
h2_config_var_t  var 
)
void h2_get_num_workers ( server_rec s,
int minw,
int maxw 
)

Variable Documentation

const command_rec h2_cmds[]