Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

apreq_params.h File Reference

Request and param stuff. More...

#include "apreq.h"

Go to the source code of this file.

Data Structures

struct  apreq_hook_t
struct  apreq_param_t
struct  apreq_parser_t
struct  apreq_request_t

Defines

#define apreq_value_to_param(ptr)   apreq_attr_to_type(apreq_param_t, v, ptr)
#define apreq_param_name(p)   ((p)->v.name)
#define apreq_param_value(p)   ((p)->v.data)
#define apreq_param_info(p)   ((p)->info)
#define apreq_param_status(p)   ((p)->v.status)
#define apreq_param_brigade(p)   ((p)->bb ? apreq_copy_brigade((p)->bb) : NULL)
#define APREQ_PARSER_ARGS
#define APREQ_HOOK_ARGS
#define APREQ_DECLARE_PARSER(f)
#define APREQ_DECLARE_HOOK(f)
#define APREQ_RUN_PARSER(psr, env, t, bb)   (psr)->parser(psr,env,t,bb)
#define APREQ_RUN_HOOK(h, env, param, bb)   (h)->hook(h,env,param,bb)

Typedefs

typedef apreq_param_t apreq_param_t
typedef apreq_hook_t apreq_hook_t
typedef apreq_parser_t apreq_parser_t
typedef apreq_request_t apreq_request_t

Functions

apreq_param_tapreq_make_param (apr_pool_t *p, const char *name, const apr_size_t nlen, const char *val, const apr_size_t vlen)
apreq_request_tapreq_request (void *env, const char *qs)
apreq_param_tapreq_param (const apreq_request_t *req, const char *name)
apr_table_tapreq_params (apr_pool_t *p, const apreq_request_t *req)
apr_array_header_tapreq_params_as_array (apr_pool_t *p, apreq_request_t *req, const char *key)
const char * apreq_params_as_string (apr_pool_t *p, apreq_request_t *req, const char *key, apreq_join_t mode)
apreq_param_tapreq_decode_param (apr_pool_t *pool, const char *word, const apr_size_t nlen, const apr_size_t vlen)
char * apreq_encode_param (apr_pool_t *pool, const apreq_param_t *param)
apr_status_t apreq_parse_query_string (apr_pool_t *pool, apr_table_t *t, const char *qs)
apr_status_t apreq_parse_request (apreq_request_t *req, apr_bucket_brigade *bb)
apr_table_tapreq_uploads (apr_pool_t *pool, const apreq_request_t *req)
apreq_param_tapreq_upload (const apreq_request_t *req, const char *key)
apr_status_t apreq_brigade_concat (void *env, apr_bucket_brigade *out, apr_bucket_brigade *in)
 APREQ_DECLARE_PARSER (apreq_parse_headers)
apreq_parser_tapreq_make_parser (apr_pool_t *pool, const char *enctype, apr_status_t(*parser) APREQ_PARSER_ARGS, apreq_hook_t *hook, void *ctx)
apreq_hook_tapreq_make_hook (apr_pool_t *pool, apr_status_t(*hook) APREQ_HOOK_ARGS, apreq_hook_t *next, void *ctx)
void apreq_add_hook (apreq_parser_t *p, apreq_hook_t *h)
apreq_parser_tapreq_parser (void *env, apreq_hook_t *hook)


Detailed Description

Request and param stuff.


Generated on Sat Jun 12 10:16:30 2004 for libapreq2 by doxygen1.2.15