Modified: httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__hook__t.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__hook__t.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__hook__t.html (original) +++ httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__hook__t.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: apreq_hook_t Struct Reference + libapreq2-2.07: libapreq2: apreq_hook_t Struct Reference - -
Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages
+ +
+
+
+

apreq_hook_t Struct Reference

#include <apreq_parser.h>

- + - + - + - +

Data Fields

apreq_hook_function_t hook
apreq_hook_function_t hook
apreq_hook_tnext
apreq_hook_tnext
apr_pool_tpool
apr_pool_tpool
void * ctx
void * ctx


Detailed Description

-A hook is called by the parser whenever data arrives in a file upload parameter of the request body. You may associate any number of hooks with a parser instance with apreq_parser_add_hook(). +A hook is called by the parser whenever data arrives in a file upload parameter of the request body. You may associate any number of hooks with a parser instance with apreq_parser_add_hook().


Field Documentation

-

+

@@ -53,13 +67,13 @@ a user defined pointer passed to the hook function
- +
void* apreq_hook_t::ctx void* apreq_hook_t::ctx
-

+

@@ -76,13 +90,13 @@ the hook function
- +
apreq_hook_function_t apreq_hook_t::hook apreq_hook_function_t apreq_hook_t::hook
-

+

@@ -99,13 +113,13 @@ next item in the linked list
- +
apreq_hook_t* apreq_hook_t::next apreq_hook_t* apreq_hook_t::next
-

+

@@ -126,11 +140,11 @@
  • include/apreq_parser.h Modified: httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__module__t.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__module__t.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__module__t.html (original) +++ httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__module__t.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: apreq_module_t Struct Reference + libapreq2-2.07: libapreq2: apreq_module_t Struct Reference - - + + +

    apreq_module_t Struct Reference

    Vtable describing the necessary environment functions. More...

    @@ -20,52 +34,52 @@

  • - +
    apr_pool_t* apreq_hook_t::pool apr_pool_t* apreq_hook_t::pool
    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +

    Data Fields

    const char * name
    const char * name
    apr_uint32_t magic_number
    apr_uint32_t magic_number
    apr_status_t(* jar )(apreq_handle_t *, const apr_table_t **)
    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(* args )(apreq_handle_t *, const apr_table_t **)
    apr_status_t(* body )(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_cookie_t *(* jar_get )(apreq_handle_t *, const char *)
    apreq_param_t *(* args_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 *)
    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_get )(apreq_handle_t *, const apreq_parser_t **)
    apr_status_t(* parser_set )(apreq_handle_t *, 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(* 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_get )(apreq_handle_t *, apr_size_t *)
    apr_status_t(* brigade_limit_set )(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_get )(apreq_handle_t *, apr_uint64_t *)
    apr_status_t(* read_limit_set )(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_get )(apreq_handle_t *, const char **)
    apr_status_t(* temp_dir_set )(apreq_handle_t *, const char *)
    apr_status_t(* temp_dir_set )(apreq_handle_t *, const char *)


    Detailed Description

    Vtable describing the necessary environment functions.


    Field Documentation

    -

    +

    @@ -82,13 +96,13 @@ get a table with all query string parameters
    - +
    apr_status_t(* apreq_module_t::args)(apreq_handle_t *, const apr_table_t **) apr_status_t(* apreq_module_t::args)(apreq_handle_t *, const apr_table_t **)
    -

    +

    @@ -105,13 +119,13 @@ get a query string parameter by its name
    - +
    apreq_param_t*(* apreq_module_t::args_get)(apreq_handle_t *, const char *) apreq_param_t*(* apreq_module_t::args_get)(apreq_handle_t *, const char *)
    -

    +

    @@ -128,13 +142,13 @@ get a table with all body parameters
    - +
    apr_status_t(* apreq_module_t::body)(apreq_handle_t *, const apr_table_t **) apr_status_t(* apreq_module_t::body)(apreq_handle_t *, const apr_table_t **)
    -

    +

    @@ -151,13 +165,13 @@ get a body parameter by its name
    - +
    apreq_param_t*(* apreq_module_t::body_get)(apreq_handle_t *, const char *) apreq_param_t*(* apreq_module_t::body_get)(apreq_handle_t *, const char *)
    -

    +

    @@ -174,13 +188,13 @@ determine the maximum in-memory bytes a brigade may use
    - +
    apr_status_t(* apreq_module_t::brigade_limit_get)(apreq_handle_t *, apr_size_t *) apr_status_t(* apreq_module_t::brigade_limit_get)(apreq_handle_t *, apr_size_t *)
    -

    +

    @@ -197,13 +211,13 @@ set the maximum in-memory bytes a brigade may use
    - +
    apr_status_t(* apreq_module_t::brigade_limit_set)(apreq_handle_t *, apr_size_t) apr_status_t(* apreq_module_t::brigade_limit_set)(apreq_handle_t *, apr_size_t)
    -

    +

    @@ -220,13 +234,13 @@ add a hook function
    - +
    apr_status_t(* apreq_module_t::hook_add)(apreq_handle_t *, apreq_hook_t *) apr_status_t(* apreq_module_t::hook_add)(apreq_handle_t *, apreq_hook_t *)
    -

    +

    @@ -243,13 +257,13 @@ get a table with all cookies
    - +
    apr_status_t(* apreq_module_t::jar)(apreq_handle_t *, const apr_table_t **) apr_status_t(* apreq_module_t::jar)(apreq_handle_t *, const apr_table_t **)
    -

    +

    @@ -266,13 +280,13 @@ get a cookie by its name
    - +
    apreq_cookie_t*(* apreq_module_t::jar_get)(apreq_handle_t *, const char *) apreq_cookie_t*(* apreq_module_t::jar_get)(apreq_handle_t *, const char *)
    -

    +

    @@ -289,13 +303,13 @@ magic number identifying the module and version
    - +
    apr_uint32_t apreq_module_t::magic_number apr_uint32_t apreq_module_t::magic_number
    -

    +

    @@ -312,13 +326,13 @@ name of this apreq module
    - +
    const char* apreq_module_t::name const char* apreq_module_t::name
    -

    +

    @@ -335,13 +349,13 @@ gets the parser associated with the request body
    - +
    apr_status_t(* apreq_module_t::parser_get)(apreq_handle_t *, const apreq_parser_t **) apr_status_t(* apreq_module_t::parser_get)(apreq_handle_t *, const apreq_parser_t **)
    -

    +

    @@ -358,13 +372,13 @@ manually set a parser for the request body
    - +
    apr_status_t(* apreq_module_t::parser_set)(apreq_handle_t *, apreq_parser_t *) apr_status_t(* apreq_module_t::parser_set)(apreq_handle_t *, apreq_parser_t *)
    -

    +

    @@ -381,13 +395,13 @@ determine the maximum amount of data that will be fed into a parser
    - +
    apr_status_t(* apreq_module_t::read_limit_get)(apreq_handle_t *, apr_uint64_t *) apr_status_t(* apreq_module_t::read_limit_get)(apreq_handle_t *, apr_uint64_t *)
    -

    +

    @@ -404,13 +418,13 @@ set the maximum amount of data that will be fed into a parser
    - +
    apr_status_t(* apreq_module_t::read_limit_set)(apreq_handle_t *, apr_uint64_t) apr_status_t(* apreq_module_t::read_limit_set)(apreq_handle_t *, apr_uint64_t)
    -

    +

    @@ -427,13 +441,13 @@ determine the directory used by the parser for temporary files
    - +
    apr_status_t(* apreq_module_t::temp_dir_get)(apreq_handle_t *, const char **) apr_status_t(* apreq_module_t::temp_dir_get)(apreq_handle_t *, const char **)
    -

    +

    @@ -454,11 +468,11 @@
  • include/apreq_module.h Modified: httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__param__t.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__param__t.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__param__t.html (original) +++ httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__param__t.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: apreq_param_t Struct Reference + libapreq2-2.07: libapreq2: apreq_param_t Struct Reference - - + + +

    apreq_param_t Struct Reference

    #include <apreq_param.h>

  • - +
    apr_status_t(* apreq_module_t::temp_dir_set)(apreq_handle_t *, const char *) apr_status_t(* apreq_module_t::temp_dir_set)(apreq_handle_t *, const char *)
    - + - + - + - +

    Data Fields

    apr_table_tinfo
    apr_table_tinfo
    apr_bucket_brigadeupload
    apr_bucket_brigadeupload
    unsigned flags
    unsigned flags
    const apreq_value_t v
    const apreq_value_t v


    Detailed Description

    Common data structure for params and file uploads


    Field Documentation

    -

    +

    @@ -53,13 +67,13 @@ charsets, taint marks, app-specific bits
    - +
    unsigned apreq_param_t::flags unsigned apreq_param_t::flags
    -

    +

    @@ -76,13 +90,13 @@ header table associated with the param
    - +
    apr_table_t* apreq_param_t::info apr_table_t* apreq_param_t::info
    -

    +

    @@ -99,13 +113,13 @@ brigade used to spool upload files
    - +
    apr_bucket_brigade* apreq_param_t::upload apr_bucket_brigade* apreq_param_t::upload
    -

    +

    @@ -126,11 +140,11 @@
  • include/apreq_param.h Modified: httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__parser__t.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__parser__t.html?rev=377002&r1=377001&r2=377002&view=diff ============================================================================== --- httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__parser__t.html (original) +++ httpd/site/trunk/docs/apreq/docs/libapreq2/structapreq__parser__t.html Sat Feb 11 08:52:42 2006 @@ -1,7 +1,7 @@ - libapreq2-2.06-dev: libapreq2: apreq_parser_t Struct Reference + libapreq2-2.07: libapreq2: apreq_parser_t Struct Reference - - + + +

    apreq_parser_t Struct Reference

    #include <apreq_parser.h>

  • - +
    const apreq_value_t apreq_param_t::v const apreq_value_t apreq_param_t::v
    - + - + - + - + - + - + - + - +

    Data Fields

    apreq_parser_function_t parser
    apreq_parser_function_t parser
    const char * content_type
    const char * content_type
    apr_pool_tpool
    apr_pool_tpool
    apr_bucket_alloc_tbucket_alloc
    apr_bucket_alloc_tbucket_alloc
    apr_size_t brigade_limit
    apr_size_t brigade_limit
    const char * temp_dir
    const char * temp_dir
    apreq_hook_thook
    apreq_hook_thook
    void * ctx
    void * ctx


    Detailed Description

    -A request body parser instance. +A request body parser instance.


    Field Documentation

    -

    +

    @@ -61,13 +75,13 @@ the maximum in-memory bytes a brigade may use
    - +
    apr_size_t apreq_parser_t::brigade_limit apr_size_t apreq_parser_t::brigade_limit
    -

    +

    @@ -84,13 +98,13 @@ bucket allocator used to create bucket brigades
    - +
    apr_bucket_alloc_t* apreq_parser_t::bucket_alloc apr_bucket_alloc_t* apreq_parser_t::bucket_alloc
    -

    +

    @@ -107,13 +121,13 @@ the Content-Type request header
    - +
    const char* apreq_parser_t::content_type const char* apreq_parser_t::content_type
    -

    +

    @@ -130,13 +144,13 @@ internal context pointer used by the parser function
    - +
    void* apreq_parser_t::ctx void* apreq_parser_t::ctx
    -

    +

    @@ -153,13 +167,13 @@ linked list of hooks
    - +
    apreq_hook_t* apreq_parser_t::hook apreq_hook_t* apreq_parser_t::hook
    -

    +

    @@ -176,13 +190,13 @@ the function which parses chunks of body data
    - +
    apreq_parser_function_t apreq_parser_t::parser apreq_parser_function_t apreq_parser_t::parser
    -

    +

    @@ -199,13 +213,13 @@ a pool which outlasts the bucket_alloc.
    - +
    apr_pool_t* apreq_parser_t::pool apr_pool_t* apreq_parser_t::pool
    -

    +

    @@ -226,11 +240,11 @@
  • include/apreq_parser.h
  • - +
    const char* apreq_parser_t::temp_dir const char* apreq_parser_t::temp_dir