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

Go to the source code of this file.

Typedefs

typedef struct h2_req_engine h2_req_engine
 
typedef void http2_output_consumed (void *ctx, conn_rec *c, apr_off_t consumed)
 
typedef apr_status_t http2_req_engine_init (h2_req_engine *engine, const char *id, const char *type, apr_pool_t *pool, apr_size_t req_buffer_size, request_rec *r, http2_output_consumed **pconsumed, void **pbaton)
 

Functions

char * http2_var_lookup (apr_pool_t *, server_rec *, conn_rec *, request_rec *, char *)
 
int http2_is_h2 (conn_rec *)
 
apr_status_t http2_req_engine_push (const char *engine_type, request_rec *r, http2_req_engine_init *einit)
 
apr_status_t http2_req_engine_pull (h2_req_engine *engine, apr_read_type_e block, int capacity, request_rec **pr)
 
void http2_req_engine_done (h2_req_engine *engine, conn_rec *rconn, apr_status_t status)
 
void http2_get_num_workers (server_rec *s, int *minw, int *max)
 

Typedef Documentation

typedef struct h2_req_engine h2_req_engine
typedef void http2_output_consumed(void *ctx, conn_rec *c, apr_off_t consumed)
typedef apr_status_t http2_req_engine_init(h2_req_engine *engine, const char *id, const char *type, apr_pool_t *pool, apr_size_t req_buffer_size, request_rec *r, http2_output_consumed **pconsumed, void **pbaton)

Function Documentation

void http2_get_num_workers ( server_rec s,
int minw,
int max 
)
int http2_is_h2 ( conn_rec )

An optional function which returns non-zero if the given connection or its master connection is using HTTP/2.

void http2_req_engine_done ( h2_req_engine engine,
conn_rec rconn,
apr_status_t  status 
)
apr_status_t http2_req_engine_pull ( h2_req_engine engine,
apr_read_type_e  block,
int  capacity,
request_rec **  pr 
)
apr_status_t http2_req_engine_push ( const char *  engine_type,
request_rec r,
http2_req_engine_init einit 
)
char* http2_var_lookup ( apr_pool_t ,
server_rec ,
conn_rec ,
request_rec ,
char *   
)

The http2_var_lookup() optional function retrieves HTTP2 environment variables.