apreq_module_t Struct Reference

Vtable describing the necessary module functions. More...

#include <apreq_module.h>


Data Fields

const char * name
apr_uint32_t magic_number
apr_status_t(* jar )(apreq_handle_t *, const apr_table_t **)
apr_status_t(* args )(apreq_handle_t *, const apr_table_t **)
apr_status_t(* body )(apreq_handle_t *, const apr_table_t **)
apreq_cookie_t *(* jar_get )(apreq_handle_t *, const char *)
apreq_param_t *(* args_get )(apreq_handle_t *, const char *)
apreq_param_t *(* body_get )(apreq_handle_t *, const char *)
apr_status_t(* parser_get )(apreq_handle_t *, const apreq_parser_t **)
apr_status_t(* parser_set )(apreq_handle_t *, apreq_parser_t *)
apr_status_t(* hook_add )(apreq_handle_t *, apreq_hook_t *)
apr_status_t(* brigade_limit_get )(apreq_handle_t *, apr_size_t *)
apr_status_t(* brigade_limit_set )(apreq_handle_t *, apr_size_t)
apr_status_t(* read_limit_get )(apreq_handle_t *, apr_uint64_t *)
apr_status_t(* read_limit_set )(apreq_handle_t *, apr_uint64_t)
apr_status_t(* temp_dir_get )(apreq_handle_t *, const char **)
apr_status_t(* temp_dir_set )(apreq_handle_t *, const char *)


Detailed Description

Vtable describing the necessary module functions.

Field Documentation

const char* apreq_module_t::name

name of this apreq module

magic number identifying the module and version

get a table with all cookies

get a table with all query string parameters

get a table with all body parameters

get a cookie by its name

get a query string parameter by its name

get a body parameter by its name

gets the parser associated with the request body

manually set a parser for the request body

add a hook function

determine the maximum in-memory bytes a brigade may use

set the maximum in-memory bytes a brigade may use

determine the maximum amount of data that will be fed into a parser

set the maximum amount of data that will be fed into a parser

determine the directory used by the parser for temporary files

set the directory used by the parser for temporary files


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