httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r816029 [6/23] - in /websites/staging/httpd/trunk/content: ./ apreq/ apreq/docs/ apreq/docs/libapreq2/ contributors/ css/ dev/ dev/images/ dev/whiteboard/ docs-project/ docs/ images/ info/ info/css-security/ library/ mod_fcgid/ mod_ftp/ mod...
Date Sun, 06 May 2012 14:18:10 GMT
Added: websites/staging/httpd/trunk/content/apreq/docs/libapreq2/apreq__param_8h-source.html
==============================================================================
--- websites/staging/httpd/trunk/content/apreq/docs/libapreq2/apreq__param_8h-source.html (added)
+++ websites/staging/httpd/trunk/content/apreq/docs/libapreq2/apreq__param_8h-source.html Sun May  6 14:18:02 2012
@@ -0,0 +1,157 @@
+<html>
+<head>
+  <link rel="stylesheet" type="text/css" href="dox.css" />
+  <title>libapreq2-2.13: 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> &gt; <a href="http://httpd.apache.org">HTTP Server Project</a> &gt;
+<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.5.6 -->
+<div class="navigation" id="top">
+  <div class="tabs">
+    <ul>
+      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+      <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+<h1>include/apreq_param.h</h1><a href="apreq__param_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
+<a name="l00002"></a>00002 <span class="comment">**  Licensed to the Apache Software Foundation (ASF) under one or more</span>
+<a name="l00003"></a>00003 <span class="comment">** contributor license agreements.  See the NOTICE file distributed with</span>
+<a name="l00004"></a>00004 <span class="comment">** this work for additional information regarding copyright ownership.</span>
+<a name="l00005"></a>00005 <span class="comment">** The ASF licenses this file to You under the Apache License, Version 2.0</span>
+<a name="l00006"></a>00006 <span class="comment">** (the "License"); you may not use this file except in compliance with</span>
+<a name="l00007"></a>00007 <span class="comment">** the License.  You may obtain a copy of the License at</span>
+<a name="l00008"></a>00008 <span class="comment">**</span>
+<a name="l00009"></a>00009 <span class="comment">**      http://www.apache.org/licenses/LICENSE-2.0</span>
+<a name="l00010"></a>00010 <span class="comment">**</span>
+<a name="l00011"></a>00011 <span class="comment">**  Unless required by applicable law or agreed to in writing, software</span>
+<a name="l00012"></a>00012 <span class="comment">**  distributed under the License is distributed on an "AS IS" BASIS,</span>
+<a name="l00013"></a>00013 <span class="comment">**  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
+<a name="l00014"></a>00014 <span class="comment">**  See the License for the specific language governing permissions and</span>
+<a name="l00015"></a>00015 <span class="comment">**  limitations under the License.</span>
+<a name="l00016"></a>00016 <span class="comment">*/</span>
+<a name="l00017"></a>00017 
+<a name="l00018"></a>00018 <span class="preprocessor">#ifndef APREQ_PARAM_H</span>
+<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_PARAM_H</span>
+<a name="l00020"></a>00020 <span class="preprocessor"></span>
+<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="code" href="apreq_8h.html" title="Main header file...Define the generic APREQ_ macros and common data structures.">apreq.h</a>"</span>
+<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/1.3/" href="http://apr.apache.org/docs/apr-util/1.3/apr__buckets_8h.html">apr_buckets.h</a>"</span>
+<a name="l00023"></a>00023 
+<a name="l00024"></a>00024 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
+<a name="l00026"></a>00026 <span class="preprocessor">#endif</span>
+<a name="l00027"></a>00027 <span class="preprocessor"></span>
+<a name="l00028"></a>00028 
+<a name="l00037"></a><a class="code" href="structapreq__param__t.html">00037</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="l00038"></a><a class="code" href="structapreq__param__t.html#bb8ddaeb79c4d96691289520a2a4777f">00038</a>     <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a>         *<a class="code" href="structapreq__param__t.html#bb8ddaeb79c4d96691289520a2a4777f">info</a>;   
+<a name="l00039"></a><a class="code" href="structapreq__param__t.html#03674c98f355545deeb3fcbe109d8c9a">00039</a>     <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/1.3/" href="http://apr.apache.org/docs/apr-util/1.3/structapr__bucket__brigade.html">apr_bucket_brigade</a>  *<a class="code" href="structapreq__param__t.html#03674c98f355545deeb3fcbe109d8c9a">upload</a>; 
+<a name="l00040"></a><a class="code" href="structapreq__param__t.html#802bd45ab5afd0784d730e0dbb01aa71">00040</a>     <span class="keywordtype">unsigned</span>             <a class="code" href="structapreq__param__t.html#802bd45ab5afd0784d730e0dbb01aa71">flags</a>;  
+<a name="l00041"></a><a class="code" href="structapreq__param__t.html#f710878750c677daa9cd61868434d67f">00041</a>     <span class="keyword">const</span> <a class="code" href="structapreq__value__t.html" title="libapreq&amp;#39;s pre-extensible string type">apreq_value_t</a>  <a class="code" href="structapreq__param__t.html#f710878750c677daa9cd61868434d67f">v</a>;      
+<a name="l00042"></a>00042 } <a class="code" href="structapreq__param__t.html">apreq_param_t</a>;
+<a name="l00043"></a>00043 
+<a name="l00044"></a>00044 
+<a name="l00046"></a>00046 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gada0f3e7bf27ea51795c2c27c20aee84">APR_INLINE</a>
+<a name="l00047"></a><a class="code" href="apreq__param_8h.html#f407c2ab726bc8bc34a1b1924a4f327a">00047</a> <span class="keywordtype">unsigned</span> <a class="code" href="apreq__param_8h.html#f407c2ab726bc8bc34a1b1924a4f327a">apreq_param_is_tainted</a>(<span class="keyword">const</span> <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p) {
+<a name="l00048"></a>00048     <span class="keywordflow">return</span> <a class="code" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a>(p-&gt;<a class="code" href="structapreq__param__t.html#802bd45ab5afd0784d730e0dbb01aa71">flags</a>, APREQ_TAINTED);
+<a name="l00049"></a>00049 }
+<a name="l00050"></a>00050 
+<a name="l00052"></a>00052 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gada0f3e7bf27ea51795c2c27c20aee84">APR_INLINE</a>
+<a name="l00053"></a><a class="code" href="apreq__param_8h.html#967919466da31283c6d668c58fe5223c">00053</a> <span class="keywordtype">void</span> <a class="code" href="apreq__param_8h.html#967919466da31283c6d668c58fe5223c">apreq_param_tainted_on</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p) {
+<a name="l00054"></a>00054     <a class="code" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a>(p-&gt;<a class="code" href="structapreq__param__t.html#802bd45ab5afd0784d730e0dbb01aa71">flags</a>, APREQ_TAINTED);
+<a name="l00055"></a>00055 }
+<a name="l00056"></a>00056 
+<a name="l00058"></a>00058 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gada0f3e7bf27ea51795c2c27c20aee84">APR_INLINE</a>
+<a name="l00059"></a><a class="code" href="apreq__param_8h.html#e76641d443483db5274624f948e1c347">00059</a> <span class="keywordtype">void</span> <a class="code" href="apreq__param_8h.html#e76641d443483db5274624f948e1c347">apreq_param_tainted_off</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p) {
+<a name="l00060"></a>00060     <a class="code" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a>(p-&gt;<a class="code" href="structapreq__param__t.html#802bd45ab5afd0784d730e0dbb01aa71">flags</a>, APREQ_TAINTED);
+<a name="l00061"></a>00061 }
+<a name="l00062"></a>00062 
+<a name="l00064"></a>00064 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gada0f3e7bf27ea51795c2c27c20aee84">APR_INLINE</a>
+<a name="l00065"></a><a class="code" href="apreq__param_8h.html#be765ec55aebc8409ddd6d3db44ff917">00065</a> <a class="code" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a> <a class="code" href="apreq__param_8h.html#be765ec55aebc8409ddd6d3db44ff917">apreq_param_charset_set</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p, <a class="code" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a> c) {
+<a name="l00066"></a>00066     <a class="code" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a> old = (<a class="code" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a>)
+<a name="l00067"></a>00067         <a class="code" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a>(p-&gt;<a class="code" href="structapreq__param__t.html#802bd45ab5afd0784d730e0dbb01aa71">flags</a>, APREQ_CHARSET);
+<a name="l00068"></a>00068     <a class="code" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a>(p-&gt;<a class="code" href="structapreq__param__t.html#802bd45ab5afd0784d730e0dbb01aa71">flags</a>, APREQ_CHARSET, c);
+<a name="l00069"></a>00069     <span class="keywordflow">return</span> old;
+<a name="l00070"></a>00070 }
+<a name="l00071"></a>00071 
+<a name="l00073"></a>00073 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gada0f3e7bf27ea51795c2c27c20aee84">APR_INLINE</a>
+<a name="l00074"></a><a class="code" href="apreq__param_8h.html#be2a7a47df83a5667fe2834bfc03f15a">00074</a> <a class="code" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a> <a class="code" href="apreq__param_8h.html#be2a7a47df83a5667fe2834bfc03f15a">apreq_param_charset_get</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *p) {
+<a name="l00075"></a>00075     <span class="keywordflow">return</span> (<a class="code" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a>)<a class="code" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a>(p-&gt;<a class="code" href="structapreq__param__t.html#802bd45ab5afd0784d730e0dbb01aa71">flags</a>, APREQ_CHARSET);
+<a name="l00076"></a>00076 }
+<a name="l00077"></a>00077 
+<a name="l00078"></a>00078 
+<a name="l00080"></a>00080 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gada0f3e7bf27ea51795c2c27c20aee84">APR_INLINE</a>
+<a name="l00081"></a><a class="code" href="apreq__param_8h.html#121453693ef7c6af821ae723b6dbe34b">00081</a> <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *<a class="code" href="apreq__param_8h.html#121453693ef7c6af821ae723b6dbe34b">apreq_value_to_param</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *val)
+<a name="l00082"></a>00082 {
+<a name="l00083"></a>00083     <span class="keyword">union </span>{ <span class="keyword">const</span> <span class="keywordtype">char</span> *in; <span class="keywordtype">char</span> *out; } deconst;
+<a name="l00084"></a>00084 
+<a name="l00085"></a>00085     deconst.in = val;
+<a name="l00086"></a>00086     <span class="keywordflow">return</span> <a class="code" href="apreq_8h.html#6355f965e8eabf742537bfd8da534376">apreq_attr_to_type</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a>, v,
+<a name="l00087"></a>00087            <a class="code" href="apreq_8h.html#6355f965e8eabf742537bfd8da534376">apreq_attr_to_type</a>(<a class="code" href="structapreq__value__t.html" title="libapreq&amp;#39;s pre-extensible string type">apreq_value_t</a>, data, deconst.out));
+<a name="l00088"></a>00088 }
+<a name="l00089"></a>00089 
+<a name="l00090"></a>00090 
+<a name="l00091"></a>00091 
+<a name="l00093"></a>00093 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *) <a class="code" href="apreq__param_8h.html#25c915d3d0fd1694d2c538f108646560">apreq_param_make</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,
+<a name="l00094"></a>00094                                                 const <span class="keywordtype">char</span> *name,
+<a name="l00095"></a>00095                                                 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a> nlen,
+<a name="l00096"></a>00096                                                 const <span class="keywordtype">char</span> *val,
+<a name="l00097"></a>00097                                                 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a> vlen);
+<a name="l00098"></a>00098 
+<a name="l00115"></a>00115 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="apreq__param_8h.html#eea075c59169992492f6f5c40b9b8a70">apreq_param_decode</a>(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> **param,
+<a name="l00116"></a>00116                                                <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool,
+<a name="l00117"></a>00117                                                const <span class="keywordtype">char</span> *word,
+<a name="l00118"></a>00118                                                <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a> nlen,
+<a name="l00119"></a>00119                                                <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a> vlen);
+<a name="l00120"></a>00120 
+<a name="l00127"></a>00127 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<span class="keywordtype">char</span> *) <a class="code" href="apreq__param_8h.html#4b8b032f9d2ae8e0a6e95b6dd95b5aa9">apreq_param_encode</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool,
+<a name="l00128"></a>00128                                          const <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *param);
+<a name="l00129"></a>00129 
+<a name="l00141"></a>00141 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="apreq__param_8h.html#0aa638519951d85d1faf7bf6ba986226">apreq_parse_query_string</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool,
+<a name="l00142"></a>00142                                                      <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *t,
+<a name="l00143"></a>00143                                                      const <span class="keywordtype">char</span> *qs);
+<a name="l00144"></a>00144 
+<a name="l00145"></a>00145 
+<a name="l00157"></a>00157 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/structapr__array__header__t.html">apr_array_header_t</a> *) <a class="code" href="apreq__param_8h.html#76c7e698fd45f3f3e07db60fcba15e52">apreq_params_as_array</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,
+<a name="l00158"></a>00158                                                           const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *t,
+<a name="l00159"></a>00159                                                           const <span class="keywordtype">char</span> *key);
+<a name="l00160"></a>00160 
+<a name="l00175"></a>00175 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(const <span class="keywordtype">char</span> *) <a class="code" href="apreq__param_8h.html#0f1db12120bb2307f5e33186f094b0d6">apreq_params_as_string</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p,
+<a name="l00176"></a>00176                                                    const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *t,
+<a name="l00177"></a>00177                                                    const <span class="keywordtype">char</span> *key,
+<a name="l00178"></a>00178                                                    <a class="code" href="apreq_8h.html#c3784c04255e92629350505d35b0473e">apreq_join_t</a> mode);
+<a name="l00179"></a>00179 
+<a name="l00187"></a>00187 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *) <a class="code" href="apreq__param_8h.html#e449c4a1890767d1e9a50c78ea42769c">apreq_uploads</a>(const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *body,
+<a name="l00188"></a>00188                                                  <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool);
+<a name="l00189"></a>00189 
+<a name="l00198"></a>00198 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(const <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *) <a class="code" href="apreq__param_8h.html#1be07e7c4c8a687203ccc0d38ec3aedd">apreq_upload</a>(const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *body,
+<a name="l00199"></a>00199                                                   const <span class="keywordtype">char</span> *name);
+<a name="l00200"></a>00200 
+<a name="l00201"></a>00201 
+<a name="l00202"></a>00202 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00203"></a>00203 <span class="preprocessor"></span>}
+<a name="l00204"></a>00204 <span class="preprocessor">#endif</span>
+<a name="l00205"></a>00205 <span class="preprocessor"></span>
+<a name="l00206"></a>00206 <span class="preprocessor">#endif </span><span class="comment">/* APREQ_PARAM_H */</span>
+<a name="l00207"></a>00207 
+<a name="l00208"></a>00208 
+<a name="l00209"></a>00209 
+</pre></div></div>
+<div id="footer">
+<p class="apache">
+Copyright &copy; 2003-2006 <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.5.6 on 3 Dec 2010</span>
+</p>
+</div>
+</body>
+</html>

Added: websites/staging/httpd/trunk/content/apreq/docs/libapreq2/apreq__param_8h.html
==============================================================================
--- websites/staging/httpd/trunk/content/apreq/docs/libapreq2/apreq__param_8h.html (added)
+++ websites/staging/httpd/trunk/content/apreq/docs/libapreq2/apreq__param_8h.html Sun May  6 14:18:02 2012
@@ -0,0 +1,570 @@
+<html>
+<head>
+  <link rel="stylesheet" type="text/css" href="dox.css" />
+  <title>libapreq2-2.13: 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> &gt; <a href="http://httpd.apache.org">HTTP Server Project</a> &gt;
+<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.5.6 -->
+<div class="navigation" id="top">
+  <div class="tabs">
+    <ul>
+      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+      <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+</div>
+<div class="contents">
+<h1>include/apreq_param.h File Reference</h1>Request parsing and parameter API. <a href="#_details">More...</a>
+<p>
+<code>#include &quot;<a class="el" href="apreq_8h-source.html">apreq.h</a>&quot;</code><br>
+<code>#include &quot;<a class="elRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/1.3/" href="http://apr.apache.org/docs/apr-util/1.3/apr__buckets_8h.html">apr_buckets.h</a>&quot;</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>Data Structures</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structapreq__param__t.html">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 APR_INLINE unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#f407c2ab726bc8bc34a1b1924a4f327a">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 APR_INLINE void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#967919466da31283c6d668c58fe5223c">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 APR_INLINE void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#e76641d443483db5274624f948e1c347">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 APR_INLINE <a class="el" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#be765ec55aebc8409ddd6d3db44ff917">apreq_param_charset_set</a> (<a class="el" href="structapreq__param__t.html">apreq_param_t</a> *p, <a class="el" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a> c)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static APR_INLINE <a class="el" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#be2a7a47df83a5667fe2834bfc03f15a">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 APR_INLINE <a class="el" href="structapreq__param__t.html">apreq_param_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#121453693ef7c6af821ae723b6dbe34b">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> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#25c915d3d0fd1694d2c538f108646560">apreq_param_make</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p, const char *name, const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a> nlen, const char *val, const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">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/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#eea075c59169992492f6f5c40b9b8a70">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/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool, const char *word, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a> nlen, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3
 /group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a> vlen)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#4b8b032f9d2ae8e0a6e95b6dd95b5aa9">apreq_param_encode</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">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/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#0aa638519951d85d1faf7bf6ba986226">apreq_parse_query_string</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">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/1.3/" href="http://apr.apache.org/docs/apr/1.3/structapr__array__header__t.html">apr_array_header_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#76c7e698fd45f3f3e07db60fcba15e52">apreq_params_as_array</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p, const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *t, const char *key)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#0f1db12120bb2307f5e33186f094b0d6">apreq_params_as_string</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *p, const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *t, const char *key, <a class="el" href="apreq_8h.html#c3784c04255e92629350505d35b0473e">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/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#e449c4a1890767d1e9a50c78ea42769c">apreq_uploads</a> (const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *body, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">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> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__param_8h.html#1be07e7c4c8a687203ccc0d38ec3aedd">apreq_upload</a> (const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">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>Function Documentation</h2>
+<a class="anchor" name="be2a7a47df83a5667fe2834bfc03f15a"></a><!-- doxytag: member="apreq_param.h::apreq_param_charset_get" ref="be2a7a47df83a5667fe2834bfc03f15a" args="(apreq_param_t *p)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">static APR_INLINE <a class="el" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a> apreq_param_charset_get           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>p</em>          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td><code> [static]</code></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Gets the character encoding for this parameter. 
+</div>
+</div><p>
+<a class="anchor" name="be765ec55aebc8409ddd6d3db44ff917"></a><!-- doxytag: member="apreq_param.h::apreq_param_charset_set" ref="be765ec55aebc8409ddd6d3db44ff917" args="(apreq_param_t *p, apreq_charset_t c)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">static APR_INLINE <a class="el" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a> apreq_param_charset_set           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>p</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype"><a class="el" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a>&nbsp;</td>
+          <td class="paramname"> <em>c</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td><code> [static]</code></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Sets the character encoding for this parameter. 
+</div>
+</div><p>
+<a class="anchor" name="eea075c59169992492f6f5c40b9b8a70"></a><!-- doxytag: member="apreq_param.h::apreq_param_decode" ref="eea075c59169992492f6f5c40b9b8a70" args="(apreq_param_t **param, apr_pool_t *pool, const char *word, apr_size_t nlen, apr_size_t vlen)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apreq_param_decode           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> **&nbsp;</td>
+          <td class="paramname"> <em>param</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>pool</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const char *&nbsp;</td>
+          <td class="paramname"> <em>word</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a>&nbsp;</td>
+          <td class="paramname"> <em>nlen</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a>&nbsp;</td>
+          <td class="paramname"> <em>vlen</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<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>&nbsp;</td><td>points to the decoded parameter on success </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>pool</em>&nbsp;</td><td>Pool from which the param is allocated. </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>word</em>&nbsp;</td><td>Start of the name=value pair. </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>nlen</em>&nbsp;</td><td>Length of urlencoded name. </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>vlen</em>&nbsp;</td><td>Length of urlencoded value.</td></tr>
+  </table>
+</dl>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>APR_SUCCESS on success. <p>
+<a class="el" href="apreq__error_8h.html#73a69e21acc2cf849310a421ab43d2ba">APREQ_ERROR_BADSEQ</a> or <a class="el" href="apreq__error_8h.html#04b6a01738a1ee7fd1ecc79d256e721f">APREQ_ERROR_BADCHAR</a> on malformed input.</dd></dl>
+<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Unless vlen == 0, this function assumes there is exactly one character ('=') which separates the pair. </dd></dl>
+
+</div>
+</div><p>
+<a class="anchor" name="4b8b032f9d2ae8e0a6e95b6dd95b5aa9"></a><!-- doxytag: member="apreq_param.h::apreq_param_encode" ref="4b8b032f9d2ae8e0a6e95b6dd95b5aa9" args="(apr_pool_t *pool, const apreq_param_t *param)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">char* apreq_param_encode           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>pool</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const <a class="el" href="structapreq__param__t.html">apreq_param_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>param</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<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>&nbsp;</td><td>Pool which allocates the returned string. </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>param</em>&nbsp;</td><td>Param to encode. </td></tr>
+  </table>
+</dl>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>name-value pair representing the param. </dd></dl>
+
+</div>
+</div><p>
+<a class="anchor" name="f407c2ab726bc8bc34a1b1924a4f327a"></a><!-- doxytag: member="apreq_param.h::apreq_param_is_tainted" ref="f407c2ab726bc8bc34a1b1924a4f327a" args="(const apreq_param_t *p)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">static APR_INLINE unsigned apreq_param_is_tainted           </td>
+          <td>(</td>
+          <td class="paramtype">const <a class="el" href="structapreq__param__t.html">apreq_param_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>p</em>          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td><code> [static]</code></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>1 if the taint flag is set, 0 otherwise. </dd></dl>
+
+</div>
+</div><p>
+<a class="anchor" name="25c915d3d0fd1694d2c538f108646560"></a><!-- doxytag: member="apreq_param.h::apreq_param_make" ref="25c915d3d0fd1694d2c538f108646560" args="(apr_pool_t *p, const char *name, const apr_size_t nlen, const char *val, const apr_size_t vlen)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname"><a class="el" href="structapreq__param__t.html">apreq_param_t</a>* apreq_param_make           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>p</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const char *&nbsp;</td>
+          <td class="paramname"> <em>name</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a>&nbsp;</td>
+          <td class="paramname"> <em>nlen</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const char *&nbsp;</td>
+          <td class="paramname"> <em>val</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a>&nbsp;</td>
+          <td class="paramname"> <em>vlen</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+creates a param from name/value information 
+</div>
+</div><p>
+<a class="anchor" name="e76641d443483db5274624f948e1c347"></a><!-- doxytag: member="apreq_param.h::apreq_param_tainted_off" ref="e76641d443483db5274624f948e1c347" args="(apreq_param_t *p)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">static APR_INLINE void apreq_param_tainted_off           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>p</em>          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td><code> [static]</code></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Turns off the taint flag. 
+</div>
+</div><p>
+<a class="anchor" name="967919466da31283c6d668c58fe5223c"></a><!-- doxytag: member="apreq_param.h::apreq_param_tainted_on" ref="967919466da31283c6d668c58fe5223c" args="(apreq_param_t *p)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">static APR_INLINE void apreq_param_tainted_on           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="el" href="structapreq__param__t.html">apreq_param_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>p</em>          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td><code> [static]</code></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Sets the tainted flag. 
+</div>
+</div><p>
+<a class="anchor" name="76c7e698fd45f3f3e07db60fcba15e52"></a><!-- doxytag: member="apreq_param.h::apreq_params_as_array" ref="76c7e698fd45f3f3e07db60fcba15e52" args="(apr_pool_t *p, const apr_table_t *t, const char *key)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/structapr__array__header__t.html">apr_array_header_t</a>* apreq_params_as_array           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>p</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>t</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const char *&nbsp;</td>
+          <td class="paramname"> <em>key</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<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>&nbsp;</td><td>Allocates the returned array. </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>t</em>&nbsp;</td><td>the parameter table returned by <a class="el" href="apreq__module_8h.html#de74830e449fa5bb24694ffc3b8374ca">apreq_args()</a>, <a class="el" href="apreq__module_8h.html#e928689622d094025a8efb8c6c17d680">apreq_body()</a> or <a class="el" href="apreq__module_8h.html#0dff48fd4e83399a07853abe9d67c251">apreq_params()</a> </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>Null-terminated search key, case insensitive. key==NULL fetches all parameters. </td></tr>
+  </table>
+</dl>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>an array of apreq_param_t* (pointers) </dd></dl>
+<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Also parses the request if necessary. </dd></dl>
+
+</div>
+</div><p>
+<a class="anchor" name="0f1db12120bb2307f5e33186f094b0d6"></a><!-- doxytag: member="apreq_param.h::apreq_params_as_string" ref="0f1db12120bb2307f5e33186f094b0d6" args="(apr_pool_t *p, const apr_table_t *t, const char *key, apreq_join_t mode)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">const char* apreq_params_as_string           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>p</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>t</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const char *&nbsp;</td>
+          <td class="paramname"> <em>key</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype"><a class="el" href="apreq_8h.html#c3784c04255e92629350505d35b0473e">apreq_join_t</a>&nbsp;</td>
+          <td class="paramname"> <em>mode</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<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>&nbsp;</td><td>Allocates the return string. </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>t</em>&nbsp;</td><td>the parameter table returned by <a class="el" href="apreq__module_8h.html#de74830e449fa5bb24694ffc3b8374ca">apreq_args()</a>, <a class="el" href="apreq__module_8h.html#e928689622d094025a8efb8c6c17d680">apreq_body()</a> or <a class="el" href="apreq__module_8h.html#0dff48fd4e83399a07853abe9d67c251">apreq_params()</a> </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</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>&nbsp;</td><td>Join type- see <a class="el" href="apreq__util_8h.html#1aa668dc806fce4bd0fef348d1601930">apreq_join()</a>. </td></tr>
+  </table>
+</dl>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>the joined string or NULL on error </dd></dl>
+<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Also parses the request if necessary. </dd></dl>
+
+</div>
+</div><p>
+<a class="anchor" name="0aa638519951d85d1faf7bf6ba986226"></a><!-- doxytag: member="apreq_param.h::apreq_parse_query_string" ref="0aa638519951d85d1faf7bf6ba986226" args="(apr_pool_t *pool, apr_table_t *t, const char *qs)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> apreq_parse_query_string           </td>
+          <td>(</td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>pool</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>t</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const char *&nbsp;</td>
+          <td class="paramname"> <em>qs</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<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>&nbsp;</td><td>pool used to allocate the param data. </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>t</em>&nbsp;</td><td>table to which the params are added. </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>qs</em>&nbsp;</td><td>Query string to url-decode. </td></tr>
+  </table>
+</dl>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>APR_SUCCESS if successful, error otherwise. </dd></dl>
+<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>This function uses [&amp;;] 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>
+
+</div>
+</div><p>
+<a class="anchor" name="1be07e7c4c8a687203ccc0d38ec3aedd"></a><!-- doxytag: member="apreq_param.h::apreq_upload" ref="1be07e7c4c8a687203ccc0d38ec3aedd" args="(const apr_table_t *body, const char *name)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">const <a class="el" href="structapreq__param__t.html">apreq_param_t</a>* apreq_upload           </td>
+          <td>(</td>
+          <td class="paramtype">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>body</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">const char *&nbsp;</td>
+          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Returns the first param in req-&gt;body which has both param-&gt;v.name matching key (case insensitive) and param-&gt;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>&nbsp;</td><td>parameter table returned by <a class="el" href="apreq__module_8h.html#e928689622d094025a8efb8c6c17d680">apreq_body()</a> or <a class="el" href="apreq__module_8h.html#0dff48fd4e83399a07853abe9d67c251">apreq_params()</a> </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>Parameter name. key == NULL returns first upload. </td></tr>
+  </table>
+</dl>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>Corresponding upload, NULL if none found. </dd></dl>
+<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Will parse the request as necessary. </dd></dl>
+
+</div>
+</div><p>
+<a class="anchor" name="e449c4a1890767d1e9a50c78ea42769c"></a><!-- doxytag: member="apreq_param.h::apreq_uploads" ref="e449c4a1890767d1e9a50c78ea42769c" args="(const apr_table_t *body, apr_pool_t *pool)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a>* apreq_uploads           </td>
+          <td>(</td>
+          <td class="paramtype">const <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>body</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *&nbsp;</td>
+          <td class="paramname"> <em>pool</em></td><td>&nbsp;</td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td><td></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Returns a table of all params in req-&gt;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>&nbsp;</td><td>parameter table returned by <a class="el" href="apreq__module_8h.html#e928689622d094025a8efb8c6c17d680">apreq_body()</a> or <a class="el" href="apreq__module_8h.html#0dff48fd4e83399a07853abe9d67c251">apreq_params()</a> </td></tr>
+    <tr><td valign="top"></td><td valign="top"><em>pool</em>&nbsp;</td><td>Pool which allocates the table struct. </td></tr>
+  </table>
+</dl>
+<dl class="return" compact><dt><b>Returns:</b></dt><dd>Upload table. </dd></dl>
+<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Will parse the request if necessary. </dd></dl>
+
+</div>
+</div><p>
+<a class="anchor" name="121453693ef7c6af821ae723b6dbe34b"></a><!-- doxytag: member="apreq_param.h::apreq_value_to_param" ref="121453693ef7c6af821ae723b6dbe34b" args="(const char *val)" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">static APR_INLINE <a class="el" href="structapreq__param__t.html">apreq_param_t</a>* apreq_value_to_param           </td>
+          <td>(</td>
+          <td class="paramtype">const char *&nbsp;</td>
+          <td class="paramname"> <em>val</em>          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td><code> [static]</code></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Upgrades args and body table values to <a class="el" href="structapreq__param__t.html">apreq_param_t</a> structs. 
+</div>
+</div><p>
+</div>
+<div id="footer">
+<p class="apache">
+Copyright &copy; 2003-2006 <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.5.6 on 3 Dec 2010</span>
+</p>
+</div>
+</body>
+</html>

Added: websites/staging/httpd/trunk/content/apreq/docs/libapreq2/apreq__parser_8h-source.html
==============================================================================
--- websites/staging/httpd/trunk/content/apreq/docs/libapreq2/apreq__parser_8h-source.html (added)
+++ websites/staging/httpd/trunk/content/apreq/docs/libapreq2/apreq__parser_8h-source.html Sun May  6 14:18:02 2012
@@ -0,0 +1,174 @@
+<html>
+<head>
+  <link rel="stylesheet" type="text/css" href="dox.css" />
+  <title>libapreq2-2.13: 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> &gt; <a href="http://httpd.apache.org">HTTP Server Project</a> &gt;
+<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.5.6 -->
+<div class="navigation" id="top">
+  <div class="tabs">
+    <ul>
+      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
+      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+      <li><a href="modules.html"><span>Modules</span></a></li>
+      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
+      <li class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+<h1>include/apreq_parser.h</h1><a href="apreq__parser_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
+<a name="l00002"></a>00002 <span class="comment">**  Licensed to the Apache Software Foundation (ASF) under one or more</span>
+<a name="l00003"></a>00003 <span class="comment">** contributor license agreements.  See the NOTICE file distributed with</span>
+<a name="l00004"></a>00004 <span class="comment">** this work for additional information regarding copyright ownership.</span>
+<a name="l00005"></a>00005 <span class="comment">** The ASF licenses this file to You under the Apache License, Version 2.0</span>
+<a name="l00006"></a>00006 <span class="comment">** (the "License"); you may not use this file except in compliance with</span>
+<a name="l00007"></a>00007 <span class="comment">** the License.  You may obtain a copy of the License at</span>
+<a name="l00008"></a>00008 <span class="comment">**</span>
+<a name="l00009"></a>00009 <span class="comment">**      http://www.apache.org/licenses/LICENSE-2.0</span>
+<a name="l00010"></a>00010 <span class="comment">**</span>
+<a name="l00011"></a>00011 <span class="comment">**  Unless required by applicable law or agreed to in writing, software</span>
+<a name="l00012"></a>00012 <span class="comment">**  distributed under the License is distributed on an "AS IS" BASIS,</span>
+<a name="l00013"></a>00013 <span class="comment">**  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
+<a name="l00014"></a>00014 <span class="comment">**  See the License for the specific language governing permissions and</span>
+<a name="l00015"></a>00015 <span class="comment">**  limitations under the License.</span>
+<a name="l00016"></a>00016 <span class="comment">*/</span>
+<a name="l00017"></a>00017 
+<a name="l00018"></a>00018 <span class="preprocessor">#ifndef APREQ_PARSERS_H</span>
+<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_PARSERS_H</span>
+<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="comment">/* These structs are defined below */</span>
+<a name="l00021"></a>00021 
+<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="apreq__param_8h.html" title="Request parsing and parameter API.">apreq_param.h</a>"</span>
+<a name="l00023"></a>00023 
+<a name="l00024"></a>00024 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
+<a name="l00026"></a>00026 <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span>
+<a name="l00027"></a>00027 
+<a name="l00039"></a><a class="code" href="apreq__parser_8h.html#2c35885676cec315fc7dea19a6d1d870">00039</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a>;
+<a name="l00040"></a>00040 
+<a name="l00044"></a><a class="code" href="apreq__parser_8h.html#de5e15a40b9e1ec626ee56c494c7cdbb">00044</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> <a class="code" href="structapreq__parser__t.html">apreq_parser_t</a>;
+<a name="l00045"></a>00045 
+<a name="l00047"></a><a class="code" href="apreq__parser_8h.html#f39d2adfdd09c2fe0c8c6a3c1ea1437e">00047</a> <span class="preprocessor">#define APREQ_PARSER_ARGS  apreq_parser_t *parser,     \</span>
+<a name="l00048"></a>00048 <span class="preprocessor">                           apr_table_t *t,             \</span>
+<a name="l00049"></a>00049 <span class="preprocessor">                           apr_bucket_brigade *bb</span>
+<a name="l00050"></a>00050 <span class="preprocessor"></span>
+<a name="l00052"></a><a class="code" href="apreq__parser_8h.html#61c8b1c319752bde3cc35e98247707bf">00052</a> <span class="preprocessor">#define APREQ_HOOK_ARGS    apreq_hook_t *hook,         \</span>
+<a name="l00053"></a>00053 <span class="preprocessor">                           apreq_param_t *param,       \</span>
+<a name="l00054"></a>00054 <span class="preprocessor">                           apr_bucket_brigade *bb</span>
+<a name="l00055"></a>00055 <span class="preprocessor"></span>
+<a name="l00059"></a><a class="code" href="apreq__parser_8h.html#98c4415da3f11cf5ced76bd3c6540e65">00059</a> <span class="keyword">typedef</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> (*<a class="code" href="apreq__parser_8h.html#98c4415da3f11cf5ced76bd3c6540e65">apreq_parser_function_t</a>)(<a class="code" href="apreq__parser_8h.html#f39d2adfdd09c2fe0c8c6a3c1ea1437e">APREQ_PARSER_ARGS</a>);
+<a name="l00060"></a>00060 
+<a name="l00064"></a><a class="code" href="apreq__parser_8h.html#6841a882a8a33203233506bd6754585a">00064</a> <span class="keyword">typedef</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> (*<a class="code" href="apreq__parser_8h.html#6841a882a8a33203233506bd6754585a">apreq_hook_function_t</a>)(<a class="code" href="apreq__parser_8h.html#61c8b1c319752bde3cc35e98247707bf">APREQ_HOOK_ARGS</a>);
+<a name="l00065"></a>00065 
+<a name="l00069"></a><a class="code" href="apreq__parser_8h.html#855c07ea7fc9e240c8620d29eea4a019">00069</a> <span class="preprocessor">#define APREQ_DECLARE_PARSER(f) APREQ_DECLARE_NONSTD(apr_status_t) \</span>
+<a name="l00070"></a>00070 <span class="preprocessor">                                (f) (APREQ_PARSER_ARGS)</span>
+<a name="l00071"></a>00071 <span class="preprocessor"></span>
+<a name="l00075"></a><a class="code" href="apreq__parser_8h.html#baa196498d8cf959e07b4c84d5264f7f">00075</a> <span class="preprocessor">#define APREQ_DECLARE_HOOK(f)   APREQ_DECLARE_NONSTD(apr_status_t) \</span>
+<a name="l00076"></a>00076 <span class="preprocessor">                                (f) (APREQ_HOOK_ARGS)</span>
+<a name="l00077"></a>00077 <span class="preprocessor"></span>
+<a name="l00083"></a><a class="code" href="structapreq__hook__t.html">00083</a> <span class="keyword">struct </span><a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> {
+<a name="l00084"></a><a class="code" href="structapreq__hook__t.html#9e61fe14dbacf28528f69de468fb1fc0">00084</a>     <a class="code" href="apreq__parser_8h.html#6841a882a8a33203233506bd6754585a">apreq_hook_function_t</a> <a class="code" href="structapreq__hook__t.html#9e61fe14dbacf28528f69de468fb1fc0">hook</a>; 
+<a name="l00085"></a><a class="code" href="structapreq__hook__t.html#09efec3f75c52dbeaeedde059c953f7f">00085</a>     <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a>         *<a class="code" href="structapreq__hook__t.html#09efec3f75c52dbeaeedde059c953f7f">next</a>; 
+<a name="l00086"></a><a class="code" href="structapreq__hook__t.html#2316f4a8fb1cf0a9d5a46866b3229db1">00086</a>     <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a>           *<a class="code" href="structapreq__hook__t.html#2316f4a8fb1cf0a9d5a46866b3229db1">pool</a>; 
+<a name="l00087"></a><a class="code" href="structapreq__hook__t.html#52aeaf774a4d37758b6a3de625913ac5">00087</a>     <span class="keywordtype">void</span> *<a class="code" href="structapreq__hook__t.html#52aeaf774a4d37758b6a3de625913ac5">ctx</a>; 
+<a name="l00088"></a>00088 };
+<a name="l00089"></a>00089 
+<a name="l00093"></a><a class="code" href="structapreq__parser__t.html">00093</a> <span class="keyword">struct </span><a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> {
+<a name="l00095"></a><a class="code" href="structapreq__parser__t.html#dc117877c27713515c7617b560efb9a9">00095</a>     <a class="code" href="apreq__parser_8h.html#98c4415da3f11cf5ced76bd3c6540e65">apreq_parser_function_t</a> <a class="code" href="structapreq__parser__t.html#dc117877c27713515c7617b560efb9a9">parser</a>;
+<a name="l00097"></a><a class="code" href="structapreq__parser__t.html#3acc7764c18c52c33bb64e3ee3375670">00097</a>     <span class="keyword">const</span> <span class="keywordtype">char</span>             *<a class="code" href="structapreq__parser__t.html#3acc7764c18c52c33bb64e3ee3375670">content_type</a>;
+<a name="l00099"></a><a class="code" href="structapreq__parser__t.html#8148c125f670a73aedb9b228612b5901">00099</a>     <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a>             *<a class="code" href="structapreq__parser__t.html#8148c125f670a73aedb9b228612b5901">pool</a>;
+<a name="l00101"></a><a class="code" href="structapreq__parser__t.html#e2d1910ffc51047ff2759843d1babbc8">00101</a>     <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/1.3/" href="http://apr.apache.org/docs/apr-util/1.3/group___a_p_r___util___bucket___brigades.html#g9a30babfeb6e290db124d8f9b69e49e4">apr_bucket_alloc_t</a>     *<a class="code" href="structapreq__parser__t.html#e2d1910ffc51047ff2759843d1babbc8">bucket_alloc</a>;
+<a name="l00103"></a><a class="code" href="structapreq__parser__t.html#203d6cfc8d36892a995a535bfe644e32">00103</a>     <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a>              <a class="code" href="structapreq__parser__t.html#203d6cfc8d36892a995a535bfe644e32">brigade_limit</a>;
+<a name="l00105"></a><a class="code" href="structapreq__parser__t.html#928f16aae17f84fadf06a52a51a6385c">00105</a>     <span class="keyword">const</span> <span class="keywordtype">char</span>             *<a class="code" href="structapreq__parser__t.html#928f16aae17f84fadf06a52a51a6385c">temp_dir</a>;
+<a name="l00107"></a><a class="code" href="structapreq__parser__t.html#dd1d982c326705e8da838041a645de33">00107</a>     <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a>           *<a class="code" href="structapreq__parser__t.html#dd1d982c326705e8da838041a645de33">hook</a>;
+<a name="l00109"></a><a class="code" href="structapreq__parser__t.html#b73f196059129e0ca7926526ebba0a78">00109</a>     <span class="keywordtype">void</span>                   *<a class="code" href="structapreq__parser__t.html#b73f196059129e0ca7926526ebba0a78">ctx</a>;
+<a name="l00110"></a>00110 };
+<a name="l00111"></a>00111 
+<a name="l00112"></a>00112 
+<a name="l00123"></a>00123 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gada0f3e7bf27ea51795c2c27c20aee84">APR_INLINE</a>
+<a name="l00124"></a><a class="code" href="apreq__parser_8h.html#3c00aa3a31daba2c06110d5fc8edf1fe">00124</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> <a class="code" href="apreq__parser_8h.html#3c00aa3a31daba2c06110d5fc8edf1fe">apreq_parser_run</a>(<span class="keyword">struct</span> <a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> *psr, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *t,
+<a name="l00125"></a>00125                               <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/1.3/" href="http://apr.apache.org/docs/apr-util/1.3/structapr__bucket__brigade.html">apr_bucket_brigade</a> *bb)
+<a name="l00126"></a>00126 {
+<a name="l00127"></a>00127     <span class="keywordflow">return</span> psr-&gt;<a class="code" href="structapreq__parser__t.html#dc117877c27713515c7617b560efb9a9">parser</a>(psr, t, bb);
+<a name="l00128"></a>00128 }
+<a name="l00129"></a>00129 
+<a name="l00137"></a>00137 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gada0f3e7bf27ea51795c2c27c20aee84">APR_INLINE</a>
+<a name="l00138"></a><a class="code" href="apreq__parser_8h.html#14d03a414fc4a0663af55fbb1f532bab">00138</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> <a class="code" href="apreq__parser_8h.html#14d03a414fc4a0663af55fbb1f532bab">apreq_hook_run</a>(<span class="keyword">struct</span> <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> *h, <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *param,
+<a name="l00139"></a>00139                             <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/1.3/" href="http://apr.apache.org/docs/apr-util/1.3/structapr__bucket__brigade.html">apr_bucket_brigade</a> *bb)
+<a name="l00140"></a>00140 {
+<a name="l00141"></a>00141     <span class="keywordflow">return</span> h-&gt;<a class="code" href="structapreq__hook__t.html#9e61fe14dbacf28528f69de468fb1fc0">hook</a>(h, param, bb);
+<a name="l00142"></a>00142 }
+<a name="l00143"></a>00143 
+<a name="l00144"></a>00144 
+<a name="l00150"></a>00150 <a class="code" href="apreq__parser_8h.html#855c07ea7fc9e240c8620d29eea4a019">APREQ_DECLARE_PARSER</a>(apreq_parse_headers);
+<a name="l00151"></a>00151 
+<a name="l00155"></a>00155 <a class="code" href="apreq__parser_8h.html#855c07ea7fc9e240c8620d29eea4a019">APREQ_DECLARE_PARSER</a>(apreq_parse_urlencoded);
+<a name="l00156"></a>00156 
+<a name="l00163"></a>00163 <a class="code" href="apreq__parser_8h.html#855c07ea7fc9e240c8620d29eea4a019">APREQ_DECLARE_PARSER</a>(apreq_parse_multipart);
+<a name="l00164"></a>00164 
+<a name="l00173"></a>00173 <a class="code" href="apreq__parser_8h.html#855c07ea7fc9e240c8620d29eea4a019">APREQ_DECLARE_PARSER</a>(apreq_parse_generic);
+<a name="l00174"></a>00174 
+<a name="l00182"></a>00182 <a class="code" href="apreq__parser_8h.html#baa196498d8cf959e07b4c84d5264f7f">APREQ_DECLARE_HOOK</a>(apreq_hook_apr_xml_parser);
+<a name="l00183"></a>00183 
+<a name="l00197"></a>00197 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> *) <a class="code" href="apreq__parser_8h.html#562191171c5df0a83360435d0fe1a667">apreq_parser_make</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool,
+<a name="l00198"></a>00198                                                   <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/1.3/" href="http://apr.apache.org/docs/apr-util/1.3/group___a_p_r___util___bucket___brigades.html#g9a30babfeb6e290db124d8f9b69e49e4">apr_bucket_alloc_t</a> *ba,
+<a name="l00199"></a>00199                                                   const <span class="keywordtype">char</span> *content_type,
+<a name="l00200"></a>00200                                                   <a class="code" href="apreq__parser_8h.html#98c4415da3f11cf5ced76bd3c6540e65">apreq_parser_function_t</a> pfn,
+<a name="l00201"></a>00201                                                   <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gaa72b2253f6f3032cefea5712a27540e">apr_size_t</a> brigade_limit,
+<a name="l00202"></a>00202                                                   const <span class="keywordtype">char</span> *temp_dir,
+<a name="l00203"></a>00203                                                   <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> *hook,
+<a name="l00204"></a>00204                                                   <span class="keywordtype">void</span> *ctx);
+<a name="l00205"></a>00205 
+<a name="l00215"></a>00215 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> *) <a class="code" href="apreq__parser_8h.html#3cf15457eea6991b36f47f6139ab163c">apreq_hook_make</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool,
+<a name="l00216"></a>00216                                               <a class="code" href="apreq__parser_8h.html#6841a882a8a33203233506bd6754585a">apreq_hook_function_t</a> hook,
+<a name="l00217"></a>00217                                               <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> *next,
+<a name="l00218"></a>00218                                               <span class="keywordtype">void</span> *ctx);
+<a name="l00219"></a>00219 
+<a name="l00220"></a>00220 
+<a name="l00227"></a>00227 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="apreq__parser_8h.html#97972c08b20917465b745c8b8eec95ed">apreq_parser_add_hook</a>(<a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> *p,
+<a name="l00228"></a>00228                                                   <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> *h);
+<a name="l00229"></a>00229 
+<a name="l00230"></a>00230 
+<a name="l00237"></a>00237 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<a class="code" href="apreq__parser_8h.html#98c4415da3f11cf5ced76bd3c6540e65">apreq_parser_function_t</a>)<a class="code" href="apreq__parser_8h.html#73013ecad087f14075d319a4a983dd82">apreq_parser</a>(const <span class="keywordtype">char</span> *enctype);
+<a name="l00238"></a>00238 
+<a name="l00239"></a>00239 
+<a name="l00252"></a>00252 <a class="code" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a>) <a class="code" href="apreq__parser_8h.html#595f05be3d241a5b339fd6ef948bfbc8">apreq_register_parser</a>(const <span class="keywordtype">char</span> *enctype,
+<a name="l00253"></a>00253                                                   <a class="code" href="apreq__parser_8h.html#98c4415da3f11cf5ced76bd3c6540e65">apreq_parser_function_t</a> pfn);
+<a name="l00254"></a>00254 
+<a name="l00255"></a>00255 
+<a name="l00261"></a>00261 <a class="code" href="apreq__parser_8h.html#baa196498d8cf959e07b4c84d5264f7f">APREQ_DECLARE_HOOK</a>(apreq_hook_disable_uploads);
+<a name="l00262"></a>00262 
+<a name="l00267"></a>00267 <a class="code" href="apreq__parser_8h.html#baa196498d8cf959e07b4c84d5264f7f">APREQ_DECLARE_HOOK</a>(apreq_hook_discard_brigade);
+<a name="l00268"></a>00268 
+<a name="l00272"></a><a class="code" href="structapreq__hook__find__param__ctx__t.html">00272</a> typedef struct <a class="code" href="structapreq__hook__find__param__ctx__t.html">apreq_hook_find_param_ctx_t</a> {
+<a name="l00273"></a>00273     <span class="keyword">const</span> <span class="keywordtype">char</span>    *name;
+<a name="l00274"></a>00274     <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *param;
+<a name="l00275"></a>00275     <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a>  *prev;
+<a name="l00276"></a>00276 } <a class="code" href="structapreq__hook__find__param__ctx__t.html">apreq_hook_find_param_ctx_t</a>;
+<a name="l00277"></a>00277 
+<a name="l00278"></a>00278 
+<a name="l00293"></a>00293 <a class="code" href="apreq__parser_8h.html#baa196498d8cf959e07b4c84d5264f7f">APREQ_DECLARE_HOOK</a>(apreq_hook_find_param);
+<a name="l00294"></a>00294 
+<a name="l00295"></a>00295 
+<a name="l00296"></a>00296 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00297"></a>00297 <span class="preprocessor"></span>}
+<a name="l00298"></a>00298 
+<a name="l00299"></a>00299 <span class="preprocessor">#endif</span>
+<a name="l00300"></a>00300 <span class="preprocessor"></span><span class="preprocessor">#endif </span><span class="comment">/* APREQ_PARSERS_H */</span>
+</pre></div></div>
+<div id="footer">
+<p class="apache">
+Copyright &copy; 2003-2006 <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.5.6 on 3 Dec 2010</span>
+</p>
+</div>
+</body>
+</html>



Mime
View raw message