Go to the documentation of this file.
   18 #ifndef APREQ_PARSERS_H 
   19 #define APREQ_PARSERS_H 
   47 #define APREQ_PARSER_ARGS  apreq_parser_t *parser,     \ 
   49                            apr_bucket_brigade *bb 
   52 #define APREQ_HOOK_ARGS    apreq_hook_t *hook,         \ 
   53                            apreq_param_t *param,       \ 
   54                            apr_bucket_brigade *bb 
   69 #define APREQ_DECLARE_PARSER(f) APREQ_DECLARE_NONSTD(apr_status_t) \ 
   70                                 (f) (APREQ_PARSER_ARGS) 
   75 #define APREQ_DECLARE_HOOK(f)   APREQ_DECLARE_NONSTD(apr_status_t) \ 
  125                               apr_bucket_brigade *bb)
 
  127     return psr->
parser(psr, t, bb);
 
  139                             apr_bucket_brigade *bb)
 
  141     return h->
hook(h, param, bb);
 
  198                                                   apr_bucket_alloc_t *ba,
 
  199                                                   const char *content_type,
 
  201                                                   apr_size_t brigade_limit,
 
  202                                                   const char *temp_dir,
 
  
Definition: apreq_param.h:37
#define APREQ_DECLARE(d)
Definition: apreq.h:50
static APR_INLINE apr_status_t apreq_hook_run(struct apreq_hook_t *h, apreq_param_t *param, apr_bucket_brigade *bb)
Definition: apreq_parser.h:138
apreq_parser_function_t apreq_parser(const char *enctype)
apreq_hook_t * next
Definition: apreq_parser.h:85
apreq_hook_t * hook
Definition: apreq_parser.h:107
#define APREQ_HOOK_ARGS
Definition: apreq_parser.h:52
apreq_parser_t * apreq_parser_make(apr_pool_t *pool, apr_bucket_alloc_t *ba, const char *content_type, apreq_parser_function_t pfn, apr_size_t brigade_limit, const char *temp_dir, apreq_hook_t *hook, void *ctx)
apr_pool_t * pool
Definition: apreq_parser.h:86
const char * temp_dir
Definition: apreq_parser.h:105
Definition: apreq_parser.h:83
apreq_hook_function_t hook
Definition: apreq_parser.h:84
apr_status_t apreq_parser_add_hook(apreq_parser_t *p, apreq_hook_t *h)
Definition: apreq_parser.h:93
static APR_INLINE apr_status_t apreq_parser_run(struct apreq_parser_t *psr, apr_table_t *t, apr_bucket_brigade *bb)
Definition: apreq_parser.h:124
Request parsing and parameter API.
apr_pool_t * pool
Definition: apreq_parser.h:99
Definition: apreq_parser.h:272
const char * content_type
Definition: apreq_parser.h:97
apr_status_t(* apreq_parser_function_t)(APREQ_PARSER_ARGS)
Definition: apreq_parser.h:59
apr_status_t(* apreq_hook_function_t)(APREQ_HOOK_ARGS)
Definition: apreq_parser.h:64
#define APREQ_DECLARE_HOOK(f)
Definition: apreq_parser.h:75
#define APREQ_PARSER_ARGS
Definition: apreq_parser.h:47
#define APREQ_DECLARE_PARSER(f)
Definition: apreq_parser.h:69
apreq_hook_t * apreq_hook_make(apr_pool_t *pool, apreq_hook_function_t hook, apreq_hook_t *next, void *ctx)
apr_bucket_alloc_t * bucket_alloc
Definition: apreq_parser.h:101
apr_size_t brigade_limit
Definition: apreq_parser.h:103
void * ctx
Definition: apreq_parser.h:87
apr_status_t apreq_register_parser(const char *enctype, apreq_parser_function_t pfn)
void * ctx
Definition: apreq_parser.h:109
apreq_parser_function_t parser
Definition: apreq_parser.h:95
struct apreq_hook_find_param_ctx_t apreq_hook_find_param_ctx_t