httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r377002 [25/31] - in /httpd/site/trunk: docs/apreq/docs/libapreq2/ xdocs/apreq/docs/libapreq2/
Date Sat, 11 Feb 2006 16:52:48 GMT
Modified: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__util_8h-source.html
URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__util_8h-source.html?rev=377002&r1=377001&r2=377002&view=diff
==============================================================================
--- httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__util_8h-source.html (original)
+++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__util_8h-source.html Sat Feb 11 08:52:42 2006
@@ -1,7 +1,7 @@
 <html>
 <head>
   <link rel="stylesheet" type="text/css" href="dox.css" />
-  <title>libapreq2-2.06-dev: libapreq2: include/apreq_util.h Source File</title> 
+  <title>libapreq2-2.07: libapreq2: include/apreq_util.h Source File</title> 
 </head>
 <body>
 <div id="page-header">
@@ -10,12 +10,23 @@
 <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.3-20050530 -->
-<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
-<div class="nav">
-<a class="el" href="dir_000000.html">include</a></div>
-<h1>apreq_util.h</h1><a href="apreq__util_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">**  Copyright 2003-2005  The Apache Software Foundation</span>
+<!-- Generated by Doxygen 1.4.6 -->
+<div class="tabs">
+  <ul>
+    <li><a href="index.html"><span>Main&nbsp;Page</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 id="current"><a href="files.html"><span>Files</span></a></li>
+    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
+    <li><a href="examples.html"><span>Examples</span></a></li>
+  </ul></div>
+<div class="tabs">
+  <ul>
+    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
+    <li><a href="globals.html"><span>Globals</span></a></li>
+  </ul></div>
+<h1>include/apreq_util.h</h1><a href="apreq__util_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">**  Copyright 2003-2006  The Apache Software Foundation</span>
 <a name="l00003"></a>00003 <span class="comment">**</span>
 <a name="l00004"></a>00004 <span class="comment">**  Licensed under the Apache License, Version 2.0 (the "License");</span>
 <a name="l00005"></a>00005 <span class="comment">**  you may not use this file except in compliance with the License.</span>
@@ -39,150 +50,153 @@
 <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="l00026"></a>00026 <span class="preprocessor">#endif</span>
 <a name="l00027"></a>00027 <span class="preprocessor"></span>
-<a name="l00052"></a>00052 APREQ_DECLARE(<span class="keywordtype">char</span> *) <a class="code" href="apreq__util_8h.html#a0">apreq_join</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, 
-<a name="l00053"></a>00053                                  const <span class="keywordtype">char</span> *sep, 
-<a name="l00054"></a>00054                                  const <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> *arr, 
-<a name="l00055"></a>00055                                  <a class="code" href="apreq_8h.html#a38">apreq_join_t</a> mode);
+<a name="l00052"></a>00052 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<span class="keywordtype">char</span> *) <a class="code" href="apreq__util_8h.html#d1c7e78620dd2b0563b1c1df592e43e7">apreq_join</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#f00710151d580d85b81c3d419836b9bb">apr_pool_t</a> *p,
+<a name="l00053"></a>00053                                  const <span class="keywordtype">char</span> *sep,
+<a name="l00054"></a>00054                                  const <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> *arr,
+<a name="l00055"></a>00055                                  <a class="code" href="apreq_8h.html#a26db627cceece7744dacb2cf29a6328">apreq_join_t</a> mode);
 <a name="l00056"></a>00056 
-<a name="l00069"></a>00069 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga8">apr_ssize_t</a>) <a class="code" href="apreq__util_8h.html#a1">apreq_index</a>(const <span class="keywordtype">char</span>* hay, <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> hlen, 
-<a name="l00070"></a>00070                                        const <span class="keywordtype">char</span>* ndl, <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, 
-<a name="l00071"></a>00071                                        const <a class="code" href="apreq_8h.html#a39">apreq_match_t</a> type);
+<a name="l00069"></a>00069 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#96c6cd4aa9d40d7eef07182f04d110eb">apr_ssize_t</a>) <a class="code" href="apreq__util_8h.html#ec5bf42057db2740a0e5a0eb2e755faa">apreq_index</a>(const <span class="keywordtype">char</span>* hay, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> hlen,
+<a name="l00070"></a>00070                                        const <span class="keywordtype">char</span>* ndl, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> nlen,
+<a name="l00071"></a>00071                                        const <a class="code" href="apreq_8h.html#e40c148b9e3268e34981d69082b3be33">apreq_match_t</a> type);
 <a name="l00072"></a>00072 
-<a name="l00085"></a>00085 APREQ_DECLARE(<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="apreq__util_8h.html#a2">apreq_quote</a>(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src, 
-<a name="l00086"></a>00086                                       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> slen);
+<a name="l00085"></a>00085 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a>) <a class="code" href="apreq__util_8h.html#f8892e789ab4cfb1ebdba840029f3dfa">apreq_quote</a>(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src,
+<a name="l00086"></a>00086                                       const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> slen);
 <a name="l00087"></a>00087 
-<a name="l00101"></a>00101 APREQ_DECLARE(<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="apreq__util_8h.html#a3">apreq_quote_once</a>(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src, 
-<a name="l00102"></a>00102                                            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> slen);
+<a name="l00101"></a>00101 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a>) <a class="code" href="apreq__util_8h.html#8499b03a42041896c5493153a42ceaea">apreq_quote_once</a>(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src,
+<a name="l00102"></a>00102                                            const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> slen);
 <a name="l00103"></a>00103 
-<a name="l00114"></a>00114 APREQ_DECLARE(<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="apreq__util_8h.html#a4">apreq_encode</a>(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src, 
-<a name="l00115"></a>00115                                        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> slen);
+<a name="l00114"></a>00114 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a>) <a class="code" href="apreq__util_8h.html#74bbf602809048452bbdbe886ceef023">apreq_encode</a>(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src,
+<a name="l00115"></a>00115                                        const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> slen);
 <a name="l00116"></a>00116 
-<a name="l00128"></a>00128 APREQ_DECLARE(<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="apreq__util_8h.html#a5">apreq_cp1252_to_utf8</a>(<span class="keywordtype">char</span> *dest,
-<a name="l00129"></a>00129                                                const <span class="keywordtype">char</span> *src, <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> slen);
+<a name="l00128"></a>00128 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a>) <a class="code" href="apreq__util_8h.html#08e187fa5b4ab0e266d1181a9a339ad9">apreq_cp1252_to_utf8</a>(<span class="keywordtype">char</span> *dest,
+<a name="l00129"></a>00129                                                const <span class="keywordtype">char</span> *src, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> slen);
 <a name="l00130"></a>00130 
-<a name="l00151"></a>00151 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__util_8h.html#a6">apreq_decode</a>(<span class="keywordtype">char</span> *dest, <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> *dlen,
-<a name="l00152"></a>00152                                          const <span class="keywordtype">char</span> *src, <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> slen);
-<a name="l00153"></a>00153 
-<a name="l00174"></a>00174 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__util_8h.html#a7">apreq_decodev</a>(<span class="keywordtype">char</span> *dest, <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> *dlen,
-<a name="l00175"></a>00175                                           struct iovec *v, <span class="keywordtype">int</span> nelts);
-<a name="l00176"></a>00176 
-<a name="l00189"></a>00189 static <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="l00190"></a><a class="code" href="apreq__util_8h.html#a8">00190</a> <span class="keywordtype">char</span> *<a class="code" href="apreq__util_8h.html#a8">apreq_escape</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, const <span class="keywordtype">char</span> *src, 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> slen)
-<a name="l00191"></a>00191 {
-<a name="l00192"></a>00192     <span class="keywordtype">char</span> *rv;
-<a name="l00193"></a>00193 
-<a name="l00194"></a>00194     <span class="keywordflow">if</span> (src == NULL)
-<a name="l00195"></a>00195         <span class="keywordflow">return</span> NULL;
-<a name="l00196"></a>00196 
-<a name="l00197"></a>00197     rv = <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga12">apr_palloc</a>(p, 3 * slen + 1);
-<a name="l00198"></a>00198     <a class="code" href="apreq__util_8h.html#a4">apreq_encode</a>(rv, src, slen);
-<a name="l00199"></a>00199     <span class="keywordflow">return</span> rv;
-<a name="l00200"></a>00200 }
-<a name="l00201"></a>00201 
-<a name="l00209"></a><a class="code" href="apreq__util_8h.html#a9">00209</a> <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 class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga8">apr_ssize_t</a> <a class="code" href="apreq__util_8h.html#a9">apreq_unescape</a>(<span class="keywordtype">char</span> *str)
-<a name="l00210"></a>00210 {
-<a name="l00211"></a>00211     <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> len;
-<a name="l00212"></a>00212     <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> rv = <a class="code" href="apreq__util_8h.html#a6">apreq_decode</a>(str, &amp;len, str, strlen(str));
-<a name="l00213"></a>00213     <span class="keywordflow">if</span> (rv == <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga18">APR_SUCCESS</a>)
-<a name="l00214"></a>00214         <span class="keywordflow">return</span> (<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga8">apr_ssize_t</a>)len;
-<a name="l00215"></a>00215     <span class="keywordflow">else</span>
-<a name="l00216"></a>00216         <span class="keywordflow">return</span> -1;
-<a name="l00217"></a>00217 }
-<a name="l00218"></a>00218 
-<a name="l00230"></a>00230 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga5">apr_int64_t</a>) <a class="code" href="apreq__util_8h.html#a10">apreq_atoi64f</a>(const <span class="keywordtype">char</span> *s);
-<a name="l00231"></a>00231 
-<a name="l00243"></a>00243 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga5">apr_int64_t</a>) <a class="code" href="apreq__util_8h.html#a11">apreq_atoi64t</a>(const <span class="keywordtype">char</span> *s);
-<a name="l00244"></a>00244 
-<a name="l00262"></a>00262 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__util_8h.html#a12">apreq_brigade_fwrite</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__file__io.html#ga2">apr_file_t</a> *f,
-<a name="l00263"></a>00263                                                  <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga9">apr_off_t</a> *wlen,
-<a name="l00264"></a>00264                                                  <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);
-<a name="l00281"></a>00281 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__util_8h.html#a13">apreq_file_mktemp</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__file__io.html#ga2">apr_file_t</a> **fp, 
-<a name="l00282"></a>00282                                               <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,
-<a name="l00283"></a>00283                                               const <span class="keywordtype">char</span> *path);
-<a name="l00284"></a>00284 
-<a name="l00294"></a>00294 static <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="l00295"></a><a class="code" href="apreq__util_8h.html#a14">00295</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__util_8h.html#a14">apreq_brigade_setaside</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> *bb, <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)
-<a name="l00296"></a>00296 {
-<a name="l00297"></a>00297     <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *e;
-<a name="l00298"></a>00298     <span class="keywordflow">for</span> (e = <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#ga82">APR_BRIGADE_FIRST</a>(bb); e != <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#ga80">APR_BRIGADE_SENTINEL</a>(bb);
-<a name="l00299"></a>00299          e = <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#ga90">APR_BUCKET_NEXT</a>(e))
-<a name="l00300"></a>00300     {
-<a name="l00301"></a>00301         <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> rv = <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#ga109">apr_bucket_setaside</a>(e, p);
-<a name="l00302"></a>00302         <span class="keywordflow">if</span> (rv != <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga18">APR_SUCCESS</a>)
-<a name="l00303"></a>00303             <span class="keywordflow">return</span> rv;
-<a name="l00304"></a>00304     }
-<a name="l00305"></a>00305     <span class="keywordflow">return</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga18">APR_SUCCESS</a>;
-<a name="l00306"></a>00306 }
-<a name="l00307"></a>00307 
-<a name="l00308"></a>00308 
-<a name="l00321"></a>00321 <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="l00322"></a><a class="code" href="apreq__util_8h.html#a15">00322</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__util_8h.html#a15">apreq_brigade_copy</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> *d, <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> *s) {
-<a name="l00323"></a>00323     <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *e;
-<a name="l00324"></a>00324     <span class="keywordflow">for</span> (e = <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#ga82">APR_BRIGADE_FIRST</a>(s); e != <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#ga80">APR_BRIGADE_SENTINEL</a>(s);
-<a name="l00325"></a>00325          e = <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#ga90">APR_BUCKET_NEXT</a>(e))
-<a name="l00326"></a>00326     {
-<a name="l00327"></a>00327         <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *c;
-<a name="l00328"></a>00328         <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> rv = <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#ga111">apr_bucket_copy</a>(e, &amp;c);
-<a name="l00329"></a>00329         <span class="keywordflow">if</span> (rv != <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga18">APR_SUCCESS</a>)
-<a name="l00330"></a>00330             <span class="keywordflow">return</span> rv;
-<a name="l00331"></a>00331 
-<a name="l00332"></a>00332         <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#ga85">APR_BRIGADE_INSERT_TAIL</a>(d, c);
-<a name="l00333"></a>00333     }
-<a name="l00334"></a>00334     <span class="keywordflow">return</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga18">APR_SUCCESS</a>;
-<a name="l00335"></a>00335 }
-<a name="l00336"></a>00336 
-<a name="l00348"></a>00348 <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="l00349"></a><a class="code" href="apreq__util_8h.html#a16">00349</a> <span class="keywordtype">void</span> <a class="code" href="apreq__util_8h.html#a16">apreq_brigade_move</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> *d, <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> *s,
-<a name="l00350"></a>00350                         <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *e)
-<a name="l00351"></a>00351 {
-<a name="l00352"></a>00352     <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *f;     
-<a name="l00353"></a>00353 
-<a name="l00354"></a>00354     <span class="keywordflow">if</span> (e != <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#ga80">APR_BRIGADE_SENTINEL</a>(s)) {
-<a name="l00355"></a>00355         f = <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__ring.html#ga3">APR_RING_FIRST</a>(&amp;s-&gt;list);
-<a name="l00356"></a>00356         <span class="keywordflow">if</span> (f == e) <span class="comment">/* zero buckets to be moved */</span>
-<a name="l00357"></a>00357             <span class="keywordflow">return</span>;
-<a name="l00358"></a>00358 
-<a name="l00359"></a>00359         <span class="comment">/* obtain the last bucket to be moved */</span>
-<a name="l00360"></a>00360         e = <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__ring.html#ga6">APR_RING_PREV</a>(e, link);
-<a name="l00361"></a>00361 
-<a name="l00362"></a>00362         <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__ring.html#ga20">APR_RING_UNSPLICE</a>(f, e, link);
-<a name="l00363"></a>00363         <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__ring.html#ga14">APR_RING_SPLICE_HEAD</a>(&amp;d-&gt;list, f, e, <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a>, link);
-<a name="l00364"></a>00364     }
-<a name="l00365"></a>00365     <span class="keywordflow">else</span> {
-<a name="l00366"></a>00366         <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#ga86">APR_BRIGADE_CONCAT</a>(d, s);
-<a name="l00367"></a>00367     }
-<a name="l00368"></a>00368 }
-<a name="l00369"></a>00369 
-<a name="l00370"></a>00370 
-<a name="l00384"></a>00384 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__util_8h.html#a17">apreq_header_attribute</a>(const <span class="keywordtype">char</span> *hdr,
-<a name="l00385"></a>00385                                                    const <span class="keywordtype">char</span> *name,
-<a name="l00386"></a>00386                                                    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,
-<a name="l00387"></a>00387                                                    const <span class="keywordtype">char</span> **val,
-<a name="l00388"></a>00388                                                    <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);
-<a name="l00389"></a>00389 
-<a name="l00390"></a>00390 
-<a name="l00408"></a>00408 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__util_8h.html#a18">apreq_brigade_concat</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,
-<a name="l00409"></a>00409                                                  const <span class="keywordtype">char</span> *temp_dir,
-<a name="l00410"></a>00410                                                  <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,
-<a name="l00411"></a>00411                                                  <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> *out, 
-<a name="l00412"></a>00412                                                  <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> *in);
-<a name="l00413"></a>00413 
-<a name="l00422"></a>00422 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__file__io.html#ga2">apr_file_t</a> *)<a class="code" href="apreq__util_8h.html#a19">apreq_brigade_spoolfile</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> *bb);
-<a name="l00423"></a>00423 
-<a name="l00424"></a>00424 #ifdef __cplusplus
-<a name="l00425"></a>00425  }
-<a name="l00426"></a>00426 #endif
+<a name="l00142"></a>00142 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="code" href="apreq_8h.html#634446af852308ac3d8d1757bc739115">apreq_charset_t</a>) <a class="code" href="apreq__util_8h.html#0db5346289e60c92a1f872a83616d545">apreq_charset_divine</a>(const <span class="keywordtype">char</span> *src,
+<a name="l00143"></a>00143                                                     <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> slen);
+<a name="l00144"></a>00144 
+<a name="l00165"></a>00165 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a>) <a class="code" href="apreq__util_8h.html#3ba952bafd216993aa6179c54cc8f7fc">apreq_decode</a>(<span class="keywordtype">char</span> *dest, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> *dlen,
+<a name="l00166"></a>00166                                          const <span class="keywordtype">char</span> *src, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> slen);
+<a name="l00167"></a>00167 
+<a name="l00188"></a>00188 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a>) <a class="code" href="apreq__util_8h.html#2b2b282bcd131600809b57e209fee55b">apreq_decodev</a>(<span class="keywordtype">char</span> *dest, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> *dlen,
+<a name="l00189"></a>00189                                           struct iovec *v, <span class="keywordtype">int</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#g2bb93cd830a02f845010232f8fb920e0">nelts</a>);
+<a name="l00190"></a>00190 
+<a name="l00203"></a>00203 static <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#4055138b7e8f9a7ed3cf882fe2824051">APR_INLINE</a>
+<a name="l00204"></a><a class="code" href="apreq__util_8h.html#3dbf930c2513c2cc8c3cd0e2a2aae05a">00204</a> <span class="keywordtype">char</span> *<a class="code" href="apreq__util_8h.html#3dbf930c2513c2cc8c3cd0e2a2aae05a">apreq_escape</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#f00710151d580d85b81c3d419836b9bb">apr_pool_t</a> *p, const <span class="keywordtype">char</span> *src, const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> slen)
+<a name="l00205"></a>00205 {
+<a name="l00206"></a>00206     <span class="keywordtype">char</span> *rv;
+<a name="l00207"></a>00207 
+<a name="l00208"></a>00208     <span class="keywordflow">if</span> (src == NULL)
+<a name="l00209"></a>00209         <span class="keywordflow">return</span> NULL;
+<a name="l00210"></a>00210 
+<a name="l00211"></a>00211     rv = (<span class="keywordtype">char</span> *)<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#abb3f48a014eea7c9fc2e037306198e7">apr_palloc</a>(p, 3 * slen + 1);
+<a name="l00212"></a>00212     <a class="code" href="apreq__util_8h.html#74bbf602809048452bbdbe886ceef023">apreq_encode</a>(rv, src, slen);
+<a name="l00213"></a>00213     <span class="keywordflow">return</span> rv;
+<a name="l00214"></a>00214 }
+<a name="l00215"></a>00215 
+<a name="l00223"></a><a class="code" href="apreq__util_8h.html#21b07faae90ae081971ff8cc9a067610">00223</a> <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#4055138b7e8f9a7ed3cf882fe2824051">APR_INLINE</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#96c6cd4aa9d40d7eef07182f04d110eb">apr_ssize_t</a> <a class="code" href="apreq__util_8h.html#21b07faae90ae081971ff8cc9a067610">apreq_unescape</a>(<span class="keywordtype">char</span> *str)
+<a name="l00224"></a>00224 {
+<a name="l00225"></a>00225     <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> len;
+<a name="l00226"></a>00226     <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a> rv = <a class="code" href="apreq__util_8h.html#3ba952bafd216993aa6179c54cc8f7fc">apreq_decode</a>(str, &amp;len, str, strlen(str));
+<a name="l00227"></a>00227     <span class="keywordflow">if</span> (rv == <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#e26473573c7cd1c0e7a5d1af8914de7f">APR_SUCCESS</a>)
+<a name="l00228"></a>00228         <span class="keywordflow">return</span> (<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#96c6cd4aa9d40d7eef07182f04d110eb">apr_ssize_t</a>)len;
+<a name="l00229"></a>00229     <span class="keywordflow">else</span>
+<a name="l00230"></a>00230         <span class="keywordflow">return</span> -1;
+<a name="l00231"></a>00231 }
+<a name="l00232"></a>00232 
+<a name="l00244"></a>00244 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#744089682d5dc6cff702c80a5ddae30c">apr_int64_t</a>) <a class="code" href="apreq__util_8h.html#88965cc51e12335ff18f2b88ccb6a719">apreq_atoi64f</a>(const <span class="keywordtype">char</span> *s);
+<a name="l00245"></a>00245 
+<a name="l00257"></a>00257 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#744089682d5dc6cff702c80a5ddae30c">apr_int64_t</a>) <a class="code" href="apreq__util_8h.html#d72c27a9b4236dc731bb9a8abe5c142a">apreq_atoi64t</a>(const <span class="keywordtype">char</span> *s);
+<a name="l00258"></a>00258 
+<a name="l00276"></a>00276 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a>) <a class="code" href="apreq__util_8h.html#2f435b1e9ceae84cf8940d6932602695">apreq_brigade_fwrite</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__file__io.html#3ef3fef5cf5b3b076c886cb0770bc44a">apr_file_t</a> *f,
+<a name="l00277"></a>00277                                                  <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#b67cd07e4982ceddb416d78d78ac5b16">apr_off_t</a> *wlen,
+<a name="l00278"></a>00278                                                  <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);
+<a name="l00295"></a>00295 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a>) <a class="code" href="apreq__util_8h.html#16f1553486cb760816988839204d8118">apreq_file_mktemp</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__file__io.html#3ef3fef5cf5b3b076c886cb0770bc44a">apr_file_t</a> **fp,
+<a name="l00296"></a>00296                                               <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#f00710151d580d85b81c3d419836b9bb">apr_pool_t</a> *pool,
+<a name="l00297"></a>00297                                               const <span class="keywordtype">char</span> *path);
+<a name="l00298"></a>00298 
+<a name="l00308"></a>00308 static <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#4055138b7e8f9a7ed3cf882fe2824051">APR_INLINE</a>
+<a name="l00309"></a><a class="code" href="apreq__util_8h.html#8b5ee377aa7737645c7f8b3490d52bc0">00309</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a> <a class="code" href="apreq__util_8h.html#8b5ee377aa7737645c7f8b3490d52bc0">apreq_brigade_setaside</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> *bb, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#f00710151d580d85b81c3d419836b9bb">apr_pool_t</a> *p)
+<a name="l00310"></a>00310 {
+<a name="l00311"></a>00311     <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *e;
+<a name="l00312"></a>00312     <span class="keywordflow">for</span> (e = <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#598a8ff5d4836914c5a676d12b14f89b">APR_BRIGADE_FIRST</a>(bb); e != <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#881c5b91404a85167a4c51a05a093919">APR_BRIGADE_SENTINEL</a>(bb);
+<a name="l00313"></a>00313          e = <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#1f00aa14eddc9867c774d82112ee7499">APR_BUCKET_NEXT</a>(e))
+<a name="l00314"></a>00314     {
+<a name="l00315"></a>00315         <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a> rv = <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#adfa6d48a4ce795aa973ee0750ca16a1">apr_bucket_setaside</a>(e, p);
+<a name="l00316"></a>00316         <span class="keywordflow">if</span> (rv != <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#e26473573c7cd1c0e7a5d1af8914de7f">APR_SUCCESS</a>)
+<a name="l00317"></a>00317             <span class="keywordflow">return</span> rv;
+<a name="l00318"></a>00318     }
+<a name="l00319"></a>00319     <span class="keywordflow">return</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#e26473573c7cd1c0e7a5d1af8914de7f">APR_SUCCESS</a>;
+<a name="l00320"></a>00320 }
+<a name="l00321"></a>00321 
+<a name="l00322"></a>00322 
+<a name="l00335"></a>00335 <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#4055138b7e8f9a7ed3cf882fe2824051">APR_INLINE</a>
+<a name="l00336"></a><a class="code" href="apreq__util_8h.html#340835cf6c45fd8285ce90c8f33c8d4c">00336</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a> <a class="code" href="apreq__util_8h.html#340835cf6c45fd8285ce90c8f33c8d4c">apreq_brigade_copy</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> *d, <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> *s) {
+<a name="l00337"></a>00337     <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *e;
+<a name="l00338"></a>00338     <span class="keywordflow">for</span> (e = <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#598a8ff5d4836914c5a676d12b14f89b">APR_BRIGADE_FIRST</a>(s); e != <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#881c5b91404a85167a4c51a05a093919">APR_BRIGADE_SENTINEL</a>(s);
+<a name="l00339"></a>00339          e = <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#1f00aa14eddc9867c774d82112ee7499">APR_BUCKET_NEXT</a>(e))
+<a name="l00340"></a>00340     {
+<a name="l00341"></a>00341         <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *c;
+<a name="l00342"></a>00342         <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a> rv = <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#467cbca13d6c8343caa9a035042d20ad">apr_bucket_copy</a>(e, &amp;c);
+<a name="l00343"></a>00343         <span class="keywordflow">if</span> (rv != <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#e26473573c7cd1c0e7a5d1af8914de7f">APR_SUCCESS</a>)
+<a name="l00344"></a>00344             <span class="keywordflow">return</span> rv;
+<a name="l00345"></a>00345 
+<a name="l00346"></a>00346         <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#79204ea983fc1d910216838659be020e">APR_BRIGADE_INSERT_TAIL</a>(d, c);
+<a name="l00347"></a>00347     }
+<a name="l00348"></a>00348     <span class="keywordflow">return</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#e26473573c7cd1c0e7a5d1af8914de7f">APR_SUCCESS</a>;
+<a name="l00349"></a>00349 }
+<a name="l00350"></a>00350 
+<a name="l00362"></a>00362 <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#4055138b7e8f9a7ed3cf882fe2824051">APR_INLINE</a>
+<a name="l00363"></a><a class="code" href="apreq__util_8h.html#7dfe93c46a753d87565115d15f47f892">00363</a> <span class="keywordtype">void</span> <a class="code" href="apreq__util_8h.html#7dfe93c46a753d87565115d15f47f892">apreq_brigade_move</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> *d, <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> *s,
+<a name="l00364"></a>00364                         <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *e)
+<a name="l00365"></a>00365 {
+<a name="l00366"></a>00366     <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *f;
+<a name="l00367"></a>00367 
+<a name="l00368"></a>00368     <span class="keywordflow">if</span> (e != <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#881c5b91404a85167a4c51a05a093919">APR_BRIGADE_SENTINEL</a>(s)) {
+<a name="l00369"></a>00369         f = <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__ring.html#2a95ecdb9a5be2268e6bf4d89683d34c">APR_RING_FIRST</a>(&amp;s-&gt;list);
+<a name="l00370"></a>00370         <span class="keywordflow">if</span> (f == e) <span class="comment">/* zero buckets to be moved */</span>
+<a name="l00371"></a>00371             <span class="keywordflow">return</span>;
+<a name="l00372"></a>00372 
+<a name="l00373"></a>00373         <span class="comment">/* obtain the last bucket to be moved */</span>
+<a name="l00374"></a>00374         e = <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__ring.html#0995e7bd162772834418bbdff3b333a0">APR_RING_PREV</a>(e, link);
+<a name="l00375"></a>00375 
+<a name="l00376"></a>00376         <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__ring.html#1e9548961c1f5beac93ea59389c5312b">APR_RING_UNSPLICE</a>(f, e, link);
+<a name="l00377"></a>00377         <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__ring.html#97fcdae82ad1f5b829d035b5380c70c1">APR_RING_SPLICE_HEAD</a>(&amp;d-&gt;list, f, e, <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a>, link);
+<a name="l00378"></a>00378     }
+<a name="l00379"></a>00379     <span class="keywordflow">else</span> {
+<a name="l00380"></a>00380         <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#d3ff733394c1f21c86e1e44ecfd560db">APR_BRIGADE_CONCAT</a>(d, s);
+<a name="l00381"></a>00381     }
+<a name="l00382"></a>00382 }
+<a name="l00383"></a>00383 
+<a name="l00384"></a>00384 
+<a name="l00398"></a>00398 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a>) <a class="code" href="apreq__util_8h.html#51e7a21aeccdb0b1049235d202ff65b6">apreq_header_attribute</a>(const <span class="keywordtype">char</span> *hdr,
+<a name="l00399"></a>00399                                                    const <span class="keywordtype">char</span> *name,
+<a name="l00400"></a>00400                                                    const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> nlen,
+<a name="l00401"></a>00401                                                    const <span class="keywordtype">char</span> **<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#g8a85443ce001b48a2767f4409e8b2ddb">val</a>,
+<a name="l00402"></a>00402                                                    <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> *vlen);
+<a name="l00403"></a>00403 
+<a name="l00404"></a>00404 
+<a name="l00422"></a>00422 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#78dec31ed263881aa3f3f744976cb0c5">apr_status_t</a>) <a class="code" href="apreq__util_8h.html#9bc48f8f251b9a12007a7306525af0a3">apreq_brigade_concat</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#f00710151d580d85b81c3d419836b9bb">apr_pool_t</a> *pool,
+<a name="l00423"></a>00423                                                  const <span class="keywordtype">char</span> *temp_dir,
+<a name="l00424"></a>00424                                                  <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#a0ecd1b844924efe2cb5ffd0079eab9d">apr_size_t</a> brigade_limit,
+<a name="l00425"></a>00425                                                  <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> *out,
+<a name="l00426"></a>00426                                                  <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> *in);
 <a name="l00427"></a>00427 
-<a name="l00428"></a>00428 #endif <span class="comment">/* APREQ_UTIL_H */</span>
+<a name="l00436"></a>00436 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__file__io.html#3ef3fef5cf5b3b076c886cb0770bc44a">apr_file_t</a> *)<a class="code" href="apreq__util_8h.html#7a45fb1d8337ea97431133deb83354c2">apreq_brigade_spoolfile</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> *bb);
+<a name="l00437"></a>00437 
+<a name="l00438"></a>00438 <span class="preprocessor">#ifdef __cplusplus</span>
+<a name="l00439"></a>00439 <span class="preprocessor"></span> }
+<a name="l00440"></a>00440 <span class="preprocessor">#endif</span>
+<a name="l00441"></a>00441 <span class="preprocessor"></span>
+<a name="l00442"></a>00442 <span class="preprocessor">#endif </span><span class="comment">/* APREQ_UTIL_H */</span>
 </pre></div><div id="footer">
 <p class="apache">
-Copyright &copy; 2003-2005 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
+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.4.3-20050530 on 19 Jul 2005</span>
+version 1.4.6 on 11 Feb 2006</span>
 </p>
 </div>
 </body>



Mime
View raw message