18 #ifndef APREQ_MODULE_H
19 #define APREQ_MODULE_H
366 #define APREQ_MODULE(pre, mmn) const apreq_module_t \
367 pre##_module = { #pre, mmn, \
368 pre##_jar, pre##_args, pre##_body, \
369 pre##_jar_get, pre##_args_get, pre##_body_get, \
370 pre##_parser_get, pre##_parser_set, pre##_hook_add, \
371 pre##_brigade_limit_get, pre##_brigade_limit_set, \
372 pre##_read_limit_get, pre##_read_limit_set, \
373 pre##_temp_dir_get, pre##_temp_dir_set, \
405 const char *query_string,
431 #define apreq_cookie(req, name) apreq_jar_get(req, name)
#define APREQ_ERROR_NOPARSER
Definition: apreq_error.h:81
#define APREQ_ERROR_NOHEADER
Definition: apreq_error.h:79
#define APREQ_ERROR_NODATA
Definition: apreq_error.h:73
apreq_param_t * apreq_param(apreq_handle_t *req, const char *key)
apr_table_t * apreq_params(apreq_handle_t *req, apr_pool_t *p)
apreq_handle_t * apreq_handle_cgi(apr_pool_t *pool)
apr_table_t * apreq_cookies(apreq_handle_t *req, apr_pool_t *p)
struct apreq_module_t apreq_module_t
Vtable describing the necessary module functions.
apreq_handle_t * apreq_handle_custom(apr_pool_t *pool, const char *query_string, const char *cookie, apreq_parser_t *parser, apr_uint64_t read_limit, apr_bucket_brigade *in)
struct apreq_handle_t apreq_handle_t
#define APR_INCOMPLETE
Definition: apr_errno.h:458
#define APR_EINIT
Definition: apr_errno.h:480
struct apr_bucket_alloc_t apr_bucket_alloc_t
Definition: apr_buckets.h:128
const char * s
Definition: mod_dav.h:1327
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
const char * name
Definition: mod_dav.h:805
#define APR_SUCCESS
Definition: apr_errno.h:225
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
struct apr_table_t apr_table_t
Definition: apr_tables.h:56
#define APREQ_DECLARE(x)
Definition: macros.h:12
Definition: apr_buckets.h:263
Cookie type, supporting both Netscape and RFC cookie specifications.
Definition: apreq_cookie.h:53
Definition: apreq_module.h:41
apr_pool_t * pool
Definition: apreq_module.h:45
apr_bucket_alloc_t * bucket_alloc
Definition: apreq_module.h:47
const struct apreq_module_t * module
Definition: apreq_module.h:43
Definition: apreq_parser.h:83
Vtable describing the necessary module functions.
Definition: apreq_module.h:56
apr_status_t(* jar)(apreq_handle_t *, const apr_table_t **)
Definition: apreq_module.h:63
apr_status_t(* args)(apreq_handle_t *, const apr_table_t **)
Definition: apreq_module.h:65
apr_status_t(* read_limit_get)(apreq_handle_t *, apr_uint64_t *)
Definition: apreq_module.h:89
apr_status_t(* parser_get)(apreq_handle_t *, const apreq_parser_t **)
Definition: apreq_module.h:77
apr_status_t(* temp_dir_get)(apreq_handle_t *, const char **)
Definition: apreq_module.h:94
apr_status_t(* brigade_limit_set)(apreq_handle_t *, apr_size_t)
Definition: apreq_module.h:86
apreq_param_t *(* body_get)(apreq_handle_t *, const char *)
Definition: apreq_module.h:74
apr_status_t(* read_limit_set)(apreq_handle_t *, apr_uint64_t)
Definition: apreq_module.h:91
apreq_param_t *(* args_get)(apreq_handle_t *, const char *)
Definition: apreq_module.h:72
apr_status_t(* brigade_limit_get)(apreq_handle_t *, apr_size_t *)
Definition: apreq_module.h:84
apr_status_t(* temp_dir_set)(apreq_handle_t *, const char *)
Definition: apreq_module.h:96
apr_status_t(* body)(apreq_handle_t *, const apr_table_t **)
Definition: apreq_module.h:67
apr_status_t(* hook_add)(apreq_handle_t *, apreq_hook_t *)
Definition: apreq_module.h:81
apr_uint32_t magic_number
Definition: apreq_module.h:60
apr_status_t(* parser_set)(apreq_handle_t *, apreq_parser_t *)
Definition: apreq_module.h:79
apreq_cookie_t *(* jar_get)(apreq_handle_t *, const char *)
Definition: apreq_module.h:70
const char * name
Definition: apreq_module.h:58
Definition: apreq_param.h:37
Definition: apreq_parser.h:93