You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2005/05/04 19:40:16 UTC
svn commit: r168155 [20/27] - in /httpd/site/trunk:
docs/apreq/docs/libapreq2/ xdocs/apreq/docs/libapreq2/
Added: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__param_8h-source.html
URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__param_8h-source.html?rev=168155&view=auto
==============================================================================
--- httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__param_8h-source.html (added)
+++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__param_8h-source.html Wed May 4 10:40:10 2005
@@ -0,0 +1,146 @@
+<html>
+<head>
+ <link rel="stylesheet" type="text/css" href="dox.css" />
+ <title>libapreq2-2.05-dev: libapreq2: include/apreq_param.h Source File</title>
+</head>
+<body>
+<div id="page-header">
+<p class="menu">
+ <a href="http://www.apache.org/">Apache Software Foundation</a> > <a href="http://httpd.apache.org">HTTP Server Project</a> >
+<a href="http://httpd.apache.org/apreq/">Request Library Subproject</a></p>
+<p class="apache">Apache HTTP Server Request Library</p>
+<img alt="" src="feather.gif" /></div>
+<!-- Generated by Doxygen 1.4.2 -->
+<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
+<div class="nav">
+<a class="el" href="dir_000000.html">include</a></div>
+<h1>apreq_param.h</h1><a href="apreq__param_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
+00002 <span class="comment">** Copyright 2003-2005 The Apache Software Foundation</span>
+00003 <span class="comment">**</span>
+00004 <span class="comment">** Licensed under the Apache License, Version 2.0 (the "License");</span>
+00005 <span class="comment">** you may not use this file except in compliance with the License.</span>
+00006 <span class="comment">** You may obtain a copy of the License at</span>
+00007 <span class="comment">**</span>
+00008 <span class="comment">** http://www.apache.org/licenses/LICENSE-2.0</span>
+00009 <span class="comment">**</span>
+00010 <span class="comment">** Unless required by applicable law or agreed to in writing, software</span>
+00011 <span class="comment">** distributed under the License is distributed on an "AS IS" BASIS,</span>
+00012 <span class="comment">** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
+00013 <span class="comment">** See the License for the specific language governing permissions and</span>
+00014 <span class="comment">** limitations under the License.</span>
+00015 <span class="comment">*/</span>
+00016
+00017 <span class="preprocessor">#ifndef APREQ_PARAM_H</span>
+00018 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_PARAM_H</span>
+00019 <span class="preprocessor"></span>
+00020 <span class="preprocessor">#include "<a class="code" href="apreq_8h.html">apreq.h</a>"</span>
+00021 <span class="preprocessor">#include "<a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/apr__buckets_8h.html">apr_buckets.h</a>"</span>
+00022
+00023 <span class="preprocessor">#ifdef __cplusplus</span>
+00024 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
+00025 <span class="preprocessor">#endif</span>
+00026 <span class="preprocessor"></span>
+00027
+<a name="l00036"></a><a class="code" href="structapreq__param__t.html">00036</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapreq__param__t.html">apreq_param_t</a> {
+<a name="l00037"></a><a class="code" href="structapreq__param__t.html#o0">00037</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *<a class="code" href="structapreq__param__t.html#o0">info</a>;
+<a name="l00038"></a><a class="code" href="structapreq__param__t.html#o1">00038</a> <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket__brigade.html">apr_bucket_brigade</a> *<a class="code" href="structapreq__param__t.html#o1">upload</a>;
+<a name="l00039"></a><a class="code" href="structapreq__param__t.html#o2">00039</a> <span class="keywordtype">unsigned</span> <a class="code" href="structapreq__param__t.html#o2">flags</a>;
+<a name="l00040"></a><a class="code" href="structapreq__param__t.html#o3">00040</a> <span class="keyword">const</span> <a class="code" href="structapreq__value__t.html">apreq_value_t</a> <a class="code" href="structapreq__param__t.html#o3">v</a>;
+00041 } <a class="code" href="structapreq__param__t.html">apreq_param_t</a>;
+00042
+00043
+00045 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00046"></a><a class="code" href="apreq__param_8h.html#a1">00046</a> <span class="keywordtype">unsigned</span> <a class="code" href="apreq__param_8h.html#a1">apreq_param_is_tainted</a>(<span class="keyword">const</span> <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p) {
+00047 <span class="keywordflow">return</span> APREQ_FLAGS_GET(p-><a class="code" href="structapreq__param__t.html#o2">flags</a>, APREQ_TAINTED);
+00048 }
+00049
+00051 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00052"></a><a class="code" href="apreq__param_8h.html#a2">00052</a> <span class="keywordtype">void</span> <a class="code" href="apreq__param_8h.html#a2">apreq_param_tainted_on</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p) {
+00053 APREQ_FLAGS_ON(p-><a class="code" href="structapreq__param__t.html#o2">flags</a>, APREQ_TAINTED);
+00054 }
+00055
+00057 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00058"></a><a class="code" href="apreq__param_8h.html#a3">00058</a> <span class="keywordtype">void</span> <a class="code" href="apreq__param_8h.html#a3">apreq_param_tainted_off</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p) {
+00059 APREQ_FLAGS_OFF(p-><a class="code" href="structapreq__param__t.html#o2">flags</a>, APREQ_TAINTED);
+00060 }
+00061
+00063 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00064"></a><a class="code" href="apreq__param_8h.html#a4">00064</a> <a class="code" href="apreq_8h.html#a37">apreq_charset_t</a> <a class="code" href="apreq__param_8h.html#a4">apreq_param_charset_set</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> c) {
+00065 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> old = APREQ_FLAGS_GET(p-><a class="code" href="structapreq__param__t.html#o2">flags</a>, APREQ_CHARSET);
+00066 APREQ_FLAGS_SET(p-><a class="code" href="structapreq__param__t.html#o2">flags</a>, APREQ_CHARSET, c);
+00067 <span class="keywordflow">return</span> old;
+00068 }
+00069
+00071 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00072"></a><a class="code" href="apreq__param_8h.html#a5">00072</a> <a class="code" href="apreq_8h.html#a37">apreq_charset_t</a> <a class="code" href="apreq__param_8h.html#a5">apreq_param_charset_get</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p) {
+00073 <span class="keywordflow">return</span> APREQ_FLAGS_GET(p-><a class="code" href="structapreq__param__t.html#o2">flags</a>, APREQ_CHARSET);
+00074 }
+00075
+00076
+00078 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00079"></a><a class="code" href="apreq__param_8h.html#a6">00079</a> <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *<a class="code" href="apreq__param_8h.html#a6">apreq_value_to_param</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *val)
+00080 {
+00081 <span class="keyword">union </span>{ <span class="keyword">const</span> <span class="keywordtype">char</span> *in; <span class="keywordtype">char</span> *out; } deconst;
+00082
+00083 deconst.in = val;
+00084 <span class="keywordflow">return</span> apreq_attr_to_type(<a class="code" href="structapreq__param__t.html">apreq_param_t</a>, v,
+00085 apreq_attr_to_type(<a class="code" href="structapreq__value__t.html">apreq_value_t</a>, data, deconst.out));
+00086 }
+00087
+00088
+00089
+00091 APREQ_DECLARE(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *) <a class="code" href="apreq__param_8h.html#a7">apreq_param_make</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *p,
+00092 const <span class="keywordtype">char</span> *name,
+00093 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a> nlen,
+00094 const <span class="keywordtype">char</span> *val,
+00095 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a> vlen);
+00096
+00113 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a>) <a class="code" href="apreq__param_8h.html#a8">apreq_param_decode</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> **param,
+00114 <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *pool,
+00115 const <span class="keywordtype">char</span> *word,
+00116 <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a> nlen,
+00117 <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a> vlen);
+00118
+00125 APREQ_DECLARE(<span class="keywordtype">char</span> *) <a class="code" href="apreq__param_8h.html#a9">apreq_param_encode</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *pool,
+00126 const <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *param);
+00127
+00139 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a>) <a class="code" href="apreq__param_8h.html#a10">apreq_parse_query_string</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *pool,
+00140 <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *t,
+00141 const <span class="keywordtype">char</span> *qs);
+00142
+00143
+00155 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/structapr__array__header__t.html">apr_array_header_t</a> *) <a class="code" href="apreq__param_8h.html#a11">apreq_params_as_array</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *p,
+00156 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *t,
+00157 const <span class="keywordtype">char</span> *key);
+00158
+00173 APREQ_DECLARE(const <span class="keywordtype">char</span> *) <a class="code" href="apreq__param_8h.html#a12">apreq_params_as_string</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *p,
+00174 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *t,
+00175 const <span class="keywordtype">char</span> *key,
+00176 <a class="code" href="apreq_8h.html#a38">apreq_join_t</a> mode);
+00177
+00185 APREQ_DECLARE(const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *) <a class="code" href="apreq__param_8h.html#a13">apreq_uploads</a>(const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *body,
+00186 <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *pool);
+00187
+00196 APREQ_DECLARE(const <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *) <a class="code" href="apreq__param_8h.html#a14">apreq_upload</a>(const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *body,
+00197 const <span class="keywordtype">char</span> *name);
+00198
+00199
+00200 #ifdef __cplusplus
+00201 }
+00202 #endif
+00203
+00204 #endif <span class="comment">/* APREQ_PARAM_H */</span>
+00205
+00206
+00207
+</pre></div><div id="footer">
+<p class="apache">
+Copyright © 2003-2005 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
+See <a href="apreq_license.html">LICENSE</a>.</p>
+<p class="menu">
+<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
+version 1.4.2 on 4 May 2005</span>
+</p>
+</div>
+</body>
+</html>
Added: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__param_8h.html
URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__param_8h.html?rev=168155&view=auto
==============================================================================
--- httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__param_8h.html (added)
+++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__param_8h.html Wed May 4 10:40:10 2005
@@ -0,0 +1,695 @@
+<html>
+<head>
+ <link rel="stylesheet" type="text/css" href="dox.css" />
+ <title>libapreq2-2.05-dev: libapreq2: include/apreq_param.h File Reference</title>
+</head>
+<body>
+<div id="page-header">
+<p class="menu">
+ <a href="http://www.apache.org/">Apache Software Foundation</a> > <a href="http://httpd.apache.org">HTTP Server Project</a> >
+<a href="http://httpd.apache.org/apreq/">Request Library Subproject</a></p>
+<p class="apache">Apache HTTP Server Request Library</p>
+<img alt="" src="feather.gif" /></div>
+<!-- Generated by Doxygen 1.4.2 -->
+<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
+<div class="nav">
+<a class="el" href="dir_000000.html">include</a></div>
+<h1>apreq_param.h File Reference</h1>Request parsing and parameter API. <a href="#_details">More...</a>
+<p>
+<code>#include "<a class="el" href="apreq_8h-source.html">apreq.h</a>"</code><br>
+<code>#include "<a class="elRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/apr__buckets_8h.html">apr_buckets.h</a>"</code><br>
+
+<p>
+<a href="apreq__param_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
+<tr><td></td></tr>
+<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structapreq__param__t.html">apreq_param_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a0">apreq_param_t</a></td></tr>
+
+<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a1">apreq_param_is_tainted</a> (const <a class="el" href="structapreq__param__t.html">apreq_param_t</a> *p)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a2">apreq_param_tainted_on</a> (<a class="el" href="structapreq__param__t.html">apreq_param_t</a> *p)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> void </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a3">apreq_param_tainted_off</a> (<a class="el" href="structapreq__param__t.html">apreq_param_t</a> *p)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> <a class="el" href="apreq_8h.html#a37">apreq_charset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a4">apreq_param_charset_set</a> (<a class="el" href="structapreq__param__t.html">apreq_param_t</a> *p, unsigned char c)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> <a class="el" href="apreq_8h.html#a37">apreq_charset_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a5">apreq_param_charset_get</a> (<a class="el" href="structapreq__param__t.html">apreq_param_t</a> *p)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> <a class="el" href="structapreq__param__t.html">apreq_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a6">apreq_value_to_param</a> (const char *val)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a7">apreq_param_make</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> *p, const char *name, const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a> nlen, const char *val, const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a> vlen)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#gga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a8">apreq_param_decode</a> (<a class="el" href="structapreq__param__t.html">apreq_param_t</a> **param, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> *pool, const char *word, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a> nlen, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a> vlen)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a9">apreq_param_encode</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> *pool, const <a class="el" href="structapreq__param__t.html">apreq_param_t</a> *param)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#gga0">apr_status_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a10">apreq_parse_query_string</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> *pool, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> *t, const char *qs)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/structapr__array__header__t.html">apr_array_header_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a11">apreq_params_as_array</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> *p, const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> *t, const char *key)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a12">apreq_params_as_string</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> *p, const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> *t, const char *key, <a class="el" href="apreq_8h.html#a38">apreq_join_t</a> mode)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a13">apreq_uploads</a> (const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> *body, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> *pool)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="structapreq__param__t.html">apreq_param_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#a14">apreq_upload</a> (const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> *body, const char *name)</td></tr>
+
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Request parsing and parameter API.
+<p>
+<hr><h2>Typedef Documentation</h2>
+<a class="anchor" name="a0" doxytag="apreq_param.h::apreq_param_t"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">typedef struct <a class="el" href="structapreq__param__t.html">apreq_param_t</a> <a class="el" href="structapreq__param__t.html">apreq_param_t</a> </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Common data structure for params and file uploads </td>
+ </tr>
+</table>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="a5" doxytag="apreq_param.h::apreq_param_charset_get"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> <a class="el" href="apreq_8h.html#a37">apreq_charset_t</a> apreq_param_charset_get </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> * </td>
+ <td class="mdname1" valign="top" nowrap> <em>p</em> </td>
+ <td class="md" valign="top"> ) </td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Gets the character encoding for this parameter. </td>
+ </tr>
+</table>
+<a class="anchor" name="a4" doxytag="apreq_param.h::apreq_param_charset_set"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> <a class="el" href="apreq_8h.html#a37">apreq_charset_t</a> apreq_param_charset_set </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> * </td>
+ <td class="mdname" nowrap> <em>p</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>unsigned char </td>
+ <td class="mdname" nowrap> <em>c</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"><code> [static]</code></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Sets the character encoding for this parameter. </td>
+ </tr>
+</table>
+<a class="anchor" name="a8" doxytag="apreq_param.h::apreq_param_decode"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#gga0">apr_status_t</a> apreq_param_decode </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> ** </td>
+ <td class="mdname" nowrap> <em>param</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td>
+ <td class="mdname" nowrap> <em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char * </td>
+ <td class="mdname" nowrap> <em>word</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a> </td>
+ <td class="mdname" nowrap> <em>nlen</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a> </td>
+ <td class="mdname" nowrap> <em>vlen</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Url-decodes a name=value pair into a param.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>param</em> </td><td>points to the decoded parameter on success </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>pool</em> </td><td>Pool from which the param is allocated. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>word</em> </td><td>Start of the name=value pair. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>nlen</em> </td><td>Length of urlencoded name. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>vlen</em> </td><td>Length of urlencoded value.</td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>APR_SUCCESS + apreq_charset_t (<=APREQ_CHARSET_UTF8) on success. <p>
+<a class="el" href="apreq__error_8h.html#a6">APREQ_ERROR_BADSEQ</a> or <a class="el" href="apreq__error_8h.html#a5">APREQ_ERROR_BADCHAR</a> on malformed input.</dd></dl>
+<dl compact><dt><b>Remarks:</b></dt><dd>Unless vlen == 0, this function assumes there is exactly one character ('=') which separates the pair. </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="a9" doxytag="apreq_param.h::apreq_param_encode"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">char* apreq_param_encode </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td>
+ <td class="mdname" nowrap> <em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const <a class="el" href="structapreq__param__t.html">apreq_param_t</a> * </td>
+ <td class="mdname" nowrap> <em>param</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Url-encodes the param into a name-value pair. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>pool</em> </td><td>Pool which allocates the returned string. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>param</em> </td><td>Param to encode. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>name-value pair representing the param. </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="a1" doxytag="apreq_param.h::apreq_param_is_tainted"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> unsigned apreq_param_is_tainted </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top">const <a class="el" href="structapreq__param__t.html">apreq_param_t</a> * </td>
+ <td class="mdname1" valign="top" nowrap> <em>p</em> </td>
+ <td class="md" valign="top"> ) </td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+<dl compact><dt><b>Returns:</b></dt><dd>1 if the taint flag is set, 0 otherwise. </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="a7" doxytag="apreq_param.h::apreq_param_make"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="el" href="structapreq__param__t.html">apreq_param_t</a>* apreq_param_make </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td>
+ <td class="mdname" nowrap> <em>p</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char * </td>
+ <td class="mdname" nowrap> <em>name</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a> </td>
+ <td class="mdname" nowrap> <em>nlen</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char * </td>
+ <td class="mdname" nowrap> <em>val</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a> </td>
+ <td class="mdname" nowrap> <em>vlen</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+creates a param from name/value information </td>
+ </tr>
+</table>
+<a class="anchor" name="a3" doxytag="apreq_param.h::apreq_param_tainted_off"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> void apreq_param_tainted_off </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> * </td>
+ <td class="mdname1" valign="top" nowrap> <em>p</em> </td>
+ <td class="md" valign="top"> ) </td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Turns off the taint flag. </td>
+ </tr>
+</table>
+<a class="anchor" name="a2" doxytag="apreq_param.h::apreq_param_tainted_on"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> void apreq_param_tainted_on </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> * </td>
+ <td class="mdname1" valign="top" nowrap> <em>p</em> </td>
+ <td class="md" valign="top"> ) </td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Sets the tainted flag. </td>
+ </tr>
+</table>
+<a class="anchor" name="a11" doxytag="apreq_param.h::apreq_params_as_array"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/structapr__array__header__t.html">apr_array_header_t</a>* apreq_params_as_array </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td>
+ <td class="mdname" nowrap> <em>p</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> * </td>
+ <td class="mdname" nowrap> <em>t</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char * </td>
+ <td class="mdname" nowrap> <em>key</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Returns an array of parameters (<a class="el" href="structapreq__param__t.html">apreq_param_t</a> *) matching the given key. The key is case-insensitive. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>p</em> </td><td>Allocates the returned array. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>t</em> </td><td>the parameter table returned by <a class="el" href="apreq__module_8h.html#a6">apreq_args()</a>, <a class="el" href="apreq__module_8h.html#a7">apreq_body()</a> or <a class="el" href="apreq__module_8h.html#a26">apreq_params()</a> </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>Null-terminated search key, case insensitive. key==NULL fetches all parameters. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>an array of apreq_param_t* (pointers) </dd></dl>
+<dl compact><dt><b>Remarks:</b></dt><dd>Also parses the request if necessary. </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="a12" doxytag="apreq_param.h::apreq_params_as_string"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">const char* apreq_params_as_string </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td>
+ <td class="mdname" nowrap> <em>p</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> * </td>
+ <td class="mdname" nowrap> <em>t</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char * </td>
+ <td class="mdname" nowrap> <em>key</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="el" href="apreq_8h.html#a38">apreq_join_t</a> </td>
+ <td class="mdname" nowrap> <em>mode</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Returns a ", " -joined string containing all parameters for the requested key, an empty string if none are found. The key is case-insensitive.<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>p</em> </td><td>Allocates the return string. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>t</em> </td><td>the parameter table returned by <a class="el" href="apreq__module_8h.html#a6">apreq_args()</a>, <a class="el" href="apreq__module_8h.html#a7">apreq_body()</a> or <a class="el" href="apreq__module_8h.html#a26">apreq_params()</a> </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>key</em> </td><td>Null-terminated parameter name, case insensitive. key==NULL fetches all values. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>mode</em> </td><td>Join type- see <a class="el" href="apreq__util_8h.html#a0">apreq_join()</a>. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>the joined string or NULL on error </dd></dl>
+<dl compact><dt><b>Remarks:</b></dt><dd>Also parses the request if necessary. </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="a10" doxytag="apreq_param.h::apreq_parse_query_string"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#gga0">apr_status_t</a> apreq_parse_query_string </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td>
+ <td class="mdname" nowrap> <em>pool</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> * </td>
+ <td class="mdname" nowrap> <em>t</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char * </td>
+ <td class="mdname" nowrap> <em>qs</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Parse a url-encoded string into a param table. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>pool</em> </td><td>pool used to allocate the param data. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>t</em> </td><td>table to which the params are added. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>qs</em> </td><td>Query string to url-decode. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>APR_SUCCESS if successful, error otherwise. </dd></dl>
+<dl compact><dt><b>Remarks:</b></dt><dd>This function uses [&;] as the set of tokens to delineate words, and will treat a word w/o '=' as a name-value pair with value-length = 0. </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="a14" doxytag="apreq_param.h::apreq_upload"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">const <a class="el" href="structapreq__param__t.html">apreq_param_t</a>* apreq_upload </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> * </td>
+ <td class="mdname" nowrap> <em>body</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>const char * </td>
+ <td class="mdname" nowrap> <em>name</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Returns the first param in req->body which has both param->v.name matching key (case insensitive) and param->upload != NULL. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>body</em> </td><td>parameter table returned by <a class="el" href="apreq__module_8h.html#a7">apreq_body()</a> or <a class="el" href="apreq__module_8h.html#a26">apreq_params()</a> </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>Parameter name. key == NULL returns first upload. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>Corresponding upload, NULL if none found. </dd></dl>
+<dl compact><dt><b>Remarks:</b></dt><dd>Will parse the request as necessary. </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="a13" doxytag="apreq_param.h::apreq_uploads"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a>* apreq_uploads </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#gga0">apr_table_t</a> * </td>
+ <td class="mdname" nowrap> <em>body</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td>
+ <td class="mdname" nowrap> <em>pool</em></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">) </td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Returns a table of all params in req->body with non-NULL upload brigades. <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>body</em> </td><td>parameter table returned by <a class="el" href="apreq__module_8h.html#a7">apreq_body()</a> or <a class="el" href="apreq__module_8h.html#a26">apreq_params()</a> </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>pool</em> </td><td>Pool which allocates the table struct. </td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>Upload table. </dd></dl>
+<dl compact><dt><b>Remarks:</b></dt><dd>Will parse the request if necessary. </dd></dl>
+ </td>
+ </tr>
+</table>
+<a class="anchor" name="a6" doxytag="apreq_param.h::apreq_value_to_param"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">static <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a> <a class="el" href="structapreq__param__t.html">apreq_param_t</a>* apreq_value_to_param </td>
+ <td class="md" valign="top">( </td>
+ <td class="md" nowrap valign="top">const char * </td>
+ <td class="mdname1" valign="top" nowrap> <em>val</em> </td>
+ <td class="md" valign="top"> ) </td>
+ <td class="md" nowrap><code> [static]</code></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+
+ </td>
+ <td>
+
+<p>
+Upgrades args and body table values to <a class="el" href="structapreq__param__t.html">apreq_param_t</a> structs. </td>
+ </tr>
+</table>
+<div id="footer">
+<p class="apache">
+Copyright © 2003-2005 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
+See <a href="apreq_license.html">LICENSE</a>.</p>
+<p class="menu">
+<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
+version 1.4.2 on 4 May 2005</span>
+</p>
+</div>
+</body>
+</html>
Added: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__parser_8h-source.html
URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__parser_8h-source.html?rev=168155&view=auto
==============================================================================
--- httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__parser_8h-source.html (added)
+++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__parser_8h-source.html Wed May 4 10:40:10 2005
@@ -0,0 +1,157 @@
+<html>
+<head>
+ <link rel="stylesheet" type="text/css" href="dox.css" />
+ <title>libapreq2-2.05-dev: libapreq2: include/apreq_parser.h Source File</title>
+</head>
+<body>
+<div id="page-header">
+<p class="menu">
+ <a href="http://www.apache.org/">Apache Software Foundation</a> > <a href="http://httpd.apache.org">HTTP Server Project</a> >
+<a href="http://httpd.apache.org/apreq/">Request Library Subproject</a></p>
+<p class="apache">Apache HTTP Server Request Library</p>
+<img alt="" src="feather.gif" /></div>
+<!-- Generated by Doxygen 1.4.2 -->
+<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
+<div class="nav">
+<a class="el" href="dir_000000.html">include</a></div>
+<h1>apreq_parser.h</h1><a href="apreq__parser_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
+00002 <span class="comment">** Copyright 2003-2005 The Apache Software Foundation</span>
+00003 <span class="comment">**</span>
+00004 <span class="comment">** Licensed under the Apache License, Version 2.0 (the "License");</span>
+00005 <span class="comment">** you may not use this file except in compliance with the License.</span>
+00006 <span class="comment">** You may obtain a copy of the License at</span>
+00007 <span class="comment">**</span>
+00008 <span class="comment">** http://www.apache.org/licenses/LICENSE-2.0</span>
+00009 <span class="comment">**</span>
+00010 <span class="comment">** Unless required by applicable law or agreed to in writing, software</span>
+00011 <span class="comment">** distributed under the License is distributed on an "AS IS" BASIS,</span>
+00012 <span class="comment">** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
+00013 <span class="comment">** See the License for the specific language governing permissions and</span>
+00014 <span class="comment">** limitations under the License.</span>
+00015 <span class="comment">*/</span>
+00016
+00017 <span class="preprocessor">#ifndef APREQ_PARSERS_H</span>
+00018 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_PARSERS_H</span>
+00019 <span class="preprocessor"></span><span class="comment">/* These structs are defined below */</span>
+00020
+00021 <span class="preprocessor">#include "<a class="code" href="apreq__param_8h.html">apreq_param.h</a>"</span>
+00022
+00023 <span class="preprocessor">#ifdef __cplusplus</span>
+00024 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
+00025 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>
+00026
+<a name="l00038"></a><a class="code" href="apreq__parser_8h.html#a4">00038</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> apreq_hook_t;
+00039
+<a name="l00043"></a><a class="code" href="apreq__parser_8h.html#a5">00043</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> apreq_parser_t;
+00044
+<a name="l00046"></a><a class="code" href="apreq__parser_8h.html#a0">00046</a> <span class="preprocessor">#define APREQ_PARSER_ARGS apreq_parser_t *parser, \</span>
+00047 <span class="preprocessor"> apr_table_t *t, \</span>
+00048 <span class="preprocessor"> apr_bucket_brigade *bb</span>
+00049 <span class="preprocessor"></span>
+<a name="l00051"></a><a class="code" href="apreq__parser_8h.html#a1">00051</a> <span class="preprocessor">#define APREQ_HOOK_ARGS apreq_hook_t *hook, \</span>
+00052 <span class="preprocessor"> apreq_param_t *param, \</span>
+00053 <span class="preprocessor"> apr_bucket_brigade *bb</span>
+00054 <span class="preprocessor"></span>
+<a name="l00058"></a><a class="code" href="apreq__parser_8h.html#a6">00058</a> <span class="keyword">typedef</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a> (*<a class="code" href="apreq__parser_8h.html#a6">apreq_parser_function_t</a>)(<a class="code" href="apreq__parser_8h.html#a0">APREQ_PARSER_ARGS</a>);
+00059
+<a name="l00063"></a><a class="code" href="apreq__parser_8h.html#a7">00063</a> <span class="keyword">typedef</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a> (*<a class="code" href="apreq__parser_8h.html#a7">apreq_hook_function_t</a>)(<a class="code" href="apreq__parser_8h.html#a1">APREQ_HOOK_ARGS</a>);
+00064
+<a name="l00068"></a><a class="code" href="apreq__parser_8h.html#a2">00068</a> <span class="preprocessor">#define APREQ_DECLARE_PARSER(f) APREQ_DECLARE_NONSTD(apr_status_t) \</span>
+00069 <span class="preprocessor"> (f) (APREQ_PARSER_ARGS)</span>
+00070 <span class="preprocessor"></span>
+<a name="l00074"></a><a class="code" href="apreq__parser_8h.html#a3">00074</a> <span class="preprocessor">#define APREQ_DECLARE_HOOK(f) APREQ_DECLARE_NONSTD(apr_status_t) \</span>
+00075 <span class="preprocessor"> (f) (APREQ_HOOK_ARGS)</span>
+00076 <span class="preprocessor"></span>
+<a name="l00082"></a><a class="code" href="structapreq__hook__t.html">00082</a> <span class="keyword">struct </span>apreq_hook_t {
+<a name="l00083"></a><a class="code" href="structapreq__hook__t.html#o0">00083</a> <a class="code" href="apreq__parser_8h.html#a7">apreq_hook_function_t</a> <a class="code" href="structapreq__hook__t.html#o0">hook</a>;
+<a name="l00084"></a><a class="code" href="structapreq__hook__t.html#o1">00084</a> apreq_hook_t *<a class="code" href="structapreq__hook__t.html#o1">next</a>;
+<a name="l00085"></a><a class="code" href="structapreq__hook__t.html#o2">00085</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *<a class="code" href="structapreq__hook__t.html#o2">pool</a>;
+<a name="l00086"></a><a class="code" href="structapreq__hook__t.html#o3">00086</a> <span class="keywordtype">void</span> *<a class="code" href="structapreq__hook__t.html#o3">ctx</a>;
+00087 };
+00088
+<a name="l00092"></a><a class="code" href="structapreq__parser__t.html">00092</a> <span class="keyword">struct </span>apreq_parser_t {
+<a name="l00094"></a><a class="code" href="structapreq__parser__t.html#o0">00094</a> <a class="code" href="apreq__parser_8h.html#a6">apreq_parser_function_t</a> <a class="code" href="structapreq__parser__t.html#o0">parser</a>;
+<a name="l00096"></a><a class="code" href="structapreq__parser__t.html#o1">00096</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapreq__parser__t.html#o1">content_type</a>;
+<a name="l00098"></a><a class="code" href="structapreq__parser__t.html#o2">00098</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *<a class="code" href="structapreq__parser__t.html#o2">pool</a>;
+<a name="l00100"></a><a class="code" href="structapreq__parser__t.html#o3">00100</a> <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/group___a_p_r___util___bucket___brigades.html#ga2">apr_bucket_alloc_t</a> *<a class="code" href="structapreq__parser__t.html#o3">bucket_alloc</a>;
+<a name="l00102"></a><a class="code" href="structapreq__parser__t.html#o4">00102</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a> <a class="code" href="structapreq__parser__t.html#o4">brigade_limit</a>;
+<a name="l00104"></a><a class="code" href="structapreq__parser__t.html#o5">00104</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapreq__parser__t.html#o5">temp_dir</a>;
+<a name="l00106"></a><a class="code" href="structapreq__parser__t.html#o6">00106</a> apreq_hook_t *<a class="code" href="structapreq__parser__t.html#o6">hook</a>;
+<a name="l00108"></a><a class="code" href="structapreq__parser__t.html#o7">00108</a> <span class="keywordtype">void</span> *<a class="code" href="structapreq__parser__t.html#o7">ctx</a>;
+00109 };
+00110
+00111
+00122 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00123"></a><a class="code" href="apreq__parser_8h.html#a8">00123</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a> <a class="code" href="apreq__parser_8h.html#a8">apreq_parser_run</a>(<span class="keyword">struct</span> apreq_parser_t *psr, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *t,
+00124 <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket__brigade.html">apr_bucket_brigade</a> *bb)
+00125 {
+00126 <span class="keywordflow">return</span> psr-><a class="code" href="structapreq__parser__t.html#o0">parser</a>(psr, t, bb);
+00127 }
+00128
+00136 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+<a name="l00137"></a><a class="code" href="apreq__parser_8h.html#a9">00137</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a> <a class="code" href="apreq__parser_8h.html#a9">apreq_hook_run</a>(<span class="keyword">struct</span> apreq_hook_t *h, <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *param,
+00138 <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket__brigade.html">apr_bucket_brigade</a> *bb)
+00139 {
+00140 <span class="keywordflow">return</span> h->hook(h, param, bb);
+00141 }
+00142
+00143
+00149 <a class="code" href="apreq__parser_8h.html#a2">APREQ_DECLARE_PARSER</a>(apreq_parse_headers);
+00150
+00154 <a class="code" href="apreq__parser_8h.html#a2">APREQ_DECLARE_PARSER</a>(apreq_parse_urlencoded);
+00155
+00162 <a class="code" href="apreq__parser_8h.html#a2">APREQ_DECLARE_PARSER</a>(apreq_parse_multipart);
+00163
+00172 <a class="code" href="apreq__parser_8h.html#a2">APREQ_DECLARE_PARSER</a>(apreq_parse_generic);
+00173
+00181 <a class="code" href="apreq__parser_8h.html#a3">APREQ_DECLARE_HOOK</a>(apreq_hook_apr_xml_parser);
+00182
+00196 APREQ_DECLARE(apreq_parser_t *) <a class="code" href="apreq__parser_8h.html#a15">apreq_parser_make</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *pool,
+00197 <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/group___a_p_r___util___bucket___brigades.html#ga2">apr_bucket_alloc_t</a> *ba,
+00198 const <span class="keywordtype">char</span> *content_type,
+00199 <a class="code" href="apreq__parser_8h.html#a6">apreq_parser_function_t</a> pfn,
+00200 <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a> brigade_limit,
+00201 const <span class="keywordtype">char</span> *temp_dir,
+00202 apreq_hook_t *hook,
+00203 <span class="keywordtype">void</span> *ctx);
+00204
+00214 APREQ_DECLARE(apreq_hook_t *) <a class="code" href="apreq__parser_8h.html#a16">apreq_hook_make</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *pool,
+00215 <a class="code" href="apreq__parser_8h.html#a7">apreq_hook_function_t</a> hook,
+00216 apreq_hook_t *next,
+00217 <span class="keywordtype">void</span> *ctx);
+00218
+00219
+00226 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a>) <a class="code" href="apreq__parser_8h.html#a17">apreq_parser_add_hook</a>(apreq_parser_t *p,
+00227 apreq_hook_t *h);
+00228
+00229
+00236 APREQ_DECLARE(<a class="code" href="apreq__parser_8h.html#a6">apreq_parser_function_t</a>)<a class="code" href="apreq__parser_8h.html#a18">apreq_parser</a>(const <span class="keywordtype">char</span> *enctype);
+00237
+00238
+00251 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a>) <a class="code" href="apreq__parser_8h.html#a19">apreq_register_parser</a>(const <span class="keywordtype">char</span> *enctype,
+00252 <a class="code" href="apreq__parser_8h.html#a6">apreq_parser_function_t</a> pfn);
+00253
+00254
+00260 <a class="code" href="apreq__parser_8h.html#a3">APREQ_DECLARE_HOOK</a>(apreq_hook_disable_uploads);
+00261
+00266 <a class="code" href="apreq__parser_8h.html#a3">APREQ_DECLARE_HOOK</a>(apreq_hook_discard_brigade);
+00267
+00279 <a class="code" href="apreq__parser_8h.html#a3">APREQ_DECLARE_HOOK</a>(apreq_hook_find_param);
+00280
+00281
+00282 #ifdef __cplusplus
+00283 }
+00284
+00285 #endif
+00286 #endif <span class="comment">/* APREQ_PARSERS_H */</span>
+</pre></div><div id="footer">
+<p class="apache">
+Copyright © 2003-2005 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
+See <a href="apreq_license.html">LICENSE</a>.</p>
+<p class="menu">
+<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
+version 1.4.2 on 4 May 2005</span>
+</p>
+</div>
+</body>
+</html>