httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r168155 [5/27] - in /httpd/site/trunk: docs/apreq/docs/libapreq2/ xdocs/apreq/docs/libapreq2/
Date Wed, 04 May 2005 17:40:16 GMT
Added: httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h.html
URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h.html?rev=168155&view=auto
==============================================================================
--- httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h.html (added)
+++ httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__error_8h.html Wed May  4 10:40:10 2005
@@ -0,0 +1,541 @@
+<html>
+<head>
+  <link rel="stylesheet" type="text/css" href="dox.css" />
+  <title>libapreq2-2.05-dev: libapreq2: include/apreq_error.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.4.2 -->
+<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_error.h File Reference</h1>Error status codes. <a href="#_details">More...</a>
+<p>
+<code>#include "<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__errno_8h.html">apr_errno.h</a>"</code><br>
+<code>#include "<a class="el" href="apreq_8h-source.html">apreq.h</a>"</code><br>
+
+<p>
+<a href="apreq__error_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>Defines</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="apreq_error.h::APR_EBADARG"></a>
+#define&nbsp;</td><td class="memItemRight" valign="bottom"><b>APR_EBADARG</b>&nbsp;&nbsp;&nbsp;<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group___a_p_r___error.html#ga35">APR_BADARG</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a1">APREQ_ERROR_GENERAL</a>&nbsp;&nbsp;&nbsp;<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga13">APR_OS_START_USERERR</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a2">APREQ_ERROR_TAINTED</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL + 1)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a3">APREQ_ERROR_INTERRUPT</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL + 2)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a4">APREQ_ERROR_BADDATA</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL  + 10)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a5">APREQ_ERROR_BADCHAR</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  1)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a6">APREQ_ERROR_BADSEQ</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  2)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a7">APREQ_ERROR_BADATTR</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  3)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a8">APREQ_ERROR_BADHEADER</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  4)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a9">APREQ_ERROR_BADUTF8</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  5)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a10">APREQ_ERROR_NODATA</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL  + 20)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a11">APREQ_ERROR_NOTOKEN</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_NODATA   +  1)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a12">APREQ_ERROR_NOATTR</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_NODATA   +  2)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a13">APREQ_ERROR_NOHEADER</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_NODATA   +  3)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a14">APREQ_ERROR_NOPARSER</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_NODATA   +  4)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a15">APREQ_ERROR_MISMATCH</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL  + 30)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a16">APREQ_ERROR_OVERLIMIT</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_MISMATCH +  1)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a17">APREQ_ERROR_UNDERLIMIT</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_MISMATCH +  2)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a18">APREQ_ERROR_NOTEMPTY</a>&nbsp;&nbsp;&nbsp;(APREQ_ERROR_MISMATCH +  3)</td></tr>
+
+<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#a19">apreq_strerror</a> (<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#gga0">apr_status_t</a> s, char *buf, <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a> bufsize)</td></tr>
+
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+Error status codes. 
+<p>
+Define the APREQ_ error codes. <hr><h2>Define Documentation</h2>
+<a class="anchor" name="a7" doxytag="apreq_error.h::APREQ_ERROR_BADATTR"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_BADATTR&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  3)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Invalid attribute.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a5" doxytag="apreq_error.h::APREQ_ERROR_BADCHAR"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_BADCHAR&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  1)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Invalid character.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a4" doxytag="apreq_error.h::APREQ_ERROR_BADDATA"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_BADDATA&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL  + 10)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Invalid input data.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a8" doxytag="apreq_error.h::APREQ_ERROR_BADHEADER"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_BADHEADER&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  4)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Invalid header.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a6" doxytag="apreq_error.h::APREQ_ERROR_BADSEQ"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_BADSEQ&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  2)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Invalid byte sequence.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a9" doxytag="apreq_error.h::APREQ_ERROR_BADUTF8"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_BADUTF8&nbsp;&nbsp;&nbsp;(APREQ_ERROR_BADDATA  +  5)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Invalid utf8 encoding.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a1" doxytag="apreq_error.h::APREQ_ERROR_GENERAL"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_GENERAL&nbsp;&nbsp;&nbsp;<a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga13">APR_OS_START_USERERR</a>          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Internal apreq error.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a3" doxytag="apreq_error.h::APREQ_ERROR_INTERRUPT"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_INTERRUPT&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL + 2)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Parsing interrupted.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a15" doxytag="apreq_error.h::APREQ_ERROR_MISMATCH"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_MISMATCH&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL  + 30)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Conflicting information.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a12" doxytag="apreq_error.h::APREQ_ERROR_NOATTR"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_NOATTR&nbsp;&nbsp;&nbsp;(APREQ_ERROR_NODATA   +  2)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Missing attribute.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a10" doxytag="apreq_error.h::APREQ_ERROR_NODATA"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_NODATA&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL  + 20)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Missing input data.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a13" doxytag="apreq_error.h::APREQ_ERROR_NOHEADER"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_NOHEADER&nbsp;&nbsp;&nbsp;(APREQ_ERROR_NODATA   +  3)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Missing header.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a14" doxytag="apreq_error.h::APREQ_ERROR_NOPARSER"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_NOPARSER&nbsp;&nbsp;&nbsp;(APREQ_ERROR_NODATA   +  4)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Missing parser.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a18" doxytag="apreq_error.h::APREQ_ERROR_NOTEMPTY"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_NOTEMPTY&nbsp;&nbsp;&nbsp;(APREQ_ERROR_MISMATCH +  3)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Setting already configured.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a11" doxytag="apreq_error.h::APREQ_ERROR_NOTOKEN"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_NOTOKEN&nbsp;&nbsp;&nbsp;(APREQ_ERROR_NODATA   +  1)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Missing required token.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a16" doxytag="apreq_error.h::APREQ_ERROR_OVERLIMIT"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_OVERLIMIT&nbsp;&nbsp;&nbsp;(APREQ_ERROR_MISMATCH +  1)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Exceeds configured maximum limit.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a2" doxytag="apreq_error.h::APREQ_ERROR_TAINTED"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_TAINTED&nbsp;&nbsp;&nbsp;(APREQ_ERROR_GENERAL + 1)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Attempted to perform unsafe action with tainted data.     </td>
+  </tr>
+</table>
+<a class="anchor" name="a17" doxytag="apreq_error.h::APREQ_ERROR_UNDERLIMIT"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">#define APREQ_ERROR_UNDERLIMIT&nbsp;&nbsp;&nbsp;(APREQ_ERROR_MISMATCH +  2)          </td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+Below configured minimum limit.     </td>
+  </tr>
+</table>
+<hr><h2>Function Documentation</h2>
+<a class="anchor" name="a19" doxytag="apreq_error.h::apreq_strerror"></a><p>
+<table class="mdTable" cellpadding="2" cellspacing="0">
+  <tr>
+    <td class="mdRow">
+      <table cellpadding="0" cellspacing="0" border="0">
+        <tr>
+          <td class="md" nowrap valign="top">char* apreq_strerror           </td>
+          <td class="md" valign="top">(&nbsp;</td>
+          <td class="md" nowrap valign="top"><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#gga0">apr_status_t</a>&nbsp;</td>
+          <td class="mdname" nowrap> <em>s</em>, </td>
+        </tr>
+        <tr>
+          <td class="md" nowrap align="right"></td>
+          <td class="md"></td>
+          <td class="md" nowrap>char *&nbsp;</td>
+          <td class="mdname" nowrap> <em>buf</em>, </td>
+        </tr>
+        <tr>
+          <td class="md" nowrap align="right"></td>
+          <td class="md"></td>
+          <td class="md" nowrap><a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#gga7">apr_size_t</a>&nbsp;</td>
+          <td class="mdname" nowrap> <em>bufsize</em></td>
+        </tr>
+        <tr>
+          <td class="md"></td>
+          <td class="md">)&nbsp;</td>
+          <td class="md" colspan="2"></td>
+        </tr>
+      </table>
+    </td>
+  </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+  <tr>
+    <td>
+      &nbsp;
+    </td>
+    <td>
+
+<p>
+apreq's wrapper around <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#gga1">apr_strerror()</a>; recognizes APREQ_ERROR_* status codes.     </td>
+  </tr>
+</table>
+<div id="footer">
+<p class="apache">
+Copyright &copy; 2003-2005 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
+See <a href="apreq_license.html">LICENSE</a>.</p>
+<p class="menu">
+<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
+version 1.4.2 on 4 May 2005</span>
+</p>
+</div>
+</body>
+</html>

Added: httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__module_8h-source.html
URL: http://svn.apache.org/viewcvs/httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__module_8h-source.html?rev=168155&view=auto
==============================================================================
--- httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__module_8h-source.html (added)
+++ httpd/site/trunk/docs/apreq/docs/libapreq2/apreq__module_8h-source.html Wed May  4 10:40:10 2005
@@ -0,0 +1,268 @@
+<html>
+<head>
+  <link rel="stylesheet" type="text/css" href="dox.css" />
+  <title>libapreq2-2.05-dev: libapreq2: include/apreq_module.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.4.2 -->
+<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_module.h</h1><a href="apreq__module_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
+00002 <span class="comment">**  Copyright 2003-2005  The Apache Software Foundation</span>
+00003 <span class="comment">**</span>
+00004 <span class="comment">**  Licensed under the Apache License, Version 2.0 (the "License");</span>
+00005 <span class="comment">**  you may not use this file except in compliance with the License.</span>
+00006 <span class="comment">**  You may obtain a copy of the License at</span>
+00007 <span class="comment">**</span>
+00008 <span class="comment">**      http://www.apache.org/licenses/LICENSE-2.0</span>
+00009 <span class="comment">**</span>
+00010 <span class="comment">**  Unless required by applicable law or agreed to in writing, software</span>
+00011 <span class="comment">**  distributed under the License is distributed on an "AS IS" BASIS,</span>
+00012 <span class="comment">**  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
+00013 <span class="comment">**  See the License for the specific language governing permissions and</span>
+00014 <span class="comment">**  limitations under the License.</span>
+00015 <span class="comment">*/</span>
+00016 
+00017 <span class="preprocessor">#ifndef APREQ_MODULE_H</span>
+00018 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_MODULE_H</span>
+00019 <span class="preprocessor"></span>
+00020 <span class="preprocessor">#include "<a class="code" href="apreq__cookie_8h.html">apreq_cookie.h</a>"</span>
+00021 <span class="preprocessor">#include "<a class="code" href="apreq__parser_8h.html">apreq_parser.h</a>"</span>
+00022 <span class="preprocessor">#include "<a class="code" href="apreq__error_8h.html">apreq_error.h</a>"</span>
+00023 
+00024 <span class="preprocessor">#ifdef  __cplusplus</span>
+00025 <span class="preprocessor"></span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
+00026 <span class="preprocessor">#endif </span>
+00027 <span class="preprocessor"></span>
+<a name="l00040"></a><a class="code" href="structapreq__handle__t.html">00040</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> {
+<a name="l00042"></a><a class="code" href="structapreq__handle__t.html#o0">00042</a>     <span class="keyword">const</span> <span class="keyword">struct </span><a class="code" href="structapreq__module__t.html">apreq_module_t</a> *<a class="code" href="structapreq__handle__t.html#o0">module</a>;
+<a name="l00044"></a><a class="code" href="structapreq__handle__t.html#o1">00044</a>     <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *<a class="code" href="structapreq__handle__t.html#o1">pool</a>;
+<a name="l00046"></a><a class="code" href="structapreq__handle__t.html#o2">00046</a>     <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/group___a_p_r___util___bucket___brigades.html#ga2">apr_bucket_alloc_t</a> *<a class="code" href="structapreq__handle__t.html#o2">bucket_alloc</a>;
+00047 
+00048 } <a class="code" href="structapreq__handle__t.html">apreq_handle_t</a>;
+00049 
+<a name="l00055"></a><a class="code" href="structapreq__module__t.html">00055</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapreq__module__t.html">apreq_module_t</a> {
+<a name="l00057"></a><a class="code" href="structapreq__module__t.html#o0">00057</a>     <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapreq__module__t.html#o0">name</a>;
+<a name="l00059"></a><a class="code" href="structapreq__module__t.html#o1">00059</a>     <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga4">apr_uint32_t</a> <a class="code" href="structapreq__module__t.html#o1">magic_number</a>;
+00060 
+00062     <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="structapreq__module__t.html#o2">jar</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <span class="keyword">const</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> **);
+00064     <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="structapreq__module__t.html#o3">args</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <span class="keyword">const</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> **);
+00066     <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="structapreq__module__t.html#o4">body</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <span class="keyword">const</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> **);
+00067 
+00069     <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *(*jar_get)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <span class="keyword">const</span> <span class="keywordtype">char</span> *);
+00071     <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *(*args_get)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <span class="keyword">const</span> <span class="keywordtype">char</span> *);
+00073     <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *(*body_get)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <span class="keyword">const</span> <span class="keywordtype">char</span> *);
+00074 
+00076     <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="structapreq__module__t.html#o8">parser_get</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <span class="keyword">const</span> <a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> **);
+00078     <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="structapreq__module__t.html#o9">parser_set</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> *);
+00080     <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="structapreq__module__t.html#o10">hook_add</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> *);
+00081 
+00083     <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="structapreq__module__t.html#o11">brigade_limit_get</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a> *);
+00085     <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="structapreq__module__t.html#o12">brigade_limit_set</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a>);
+00086 
+00088     <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="structapreq__module__t.html#o13">read_limit_get</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga6">apr_uint64_t</a> *);
+00090     <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="structapreq__module__t.html#o14">read_limit_set</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga6">apr_uint64_t</a>);
+00091 
+00093     <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="structapreq__module__t.html#o15">temp_dir_get</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <span class="keyword">const</span> <span class="keywordtype">char</span> **);
+00095     <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="structapreq__module__t.html#o16">temp_dir_set</a>)(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *, <span class="keyword">const</span> <span class="keywordtype">char</span> *);
+00096 
+00097 } <a class="code" href="structapreq__module__t.html">apreq_module_t</a>;
+00098 
+00099 
+00108 <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="l00109"></a><a class="code" href="apreq__module_8h.html#a4">00109</a> <span class="keywordtype">unsigned</span> <a class="code" href="apreq__module_8h.html#a4">apreq_module_status_is_error</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> s) {
+00110     <span class="keywordflow">switch</span> (s) {
+00111     <span class="keywordflow">case</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>:
+00112     <span class="keywordflow">case</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group___a_p_r___error.html#ga33">APR_INCOMPLETE</a>:
+00113     <span class="keywordflow">case</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group___a_p_r___error.html#ga41">APR_EINIT</a>:
+00114     <span class="keywordflow">case</span> <a class="code" href="apreq__error_8h.html#a10">APREQ_ERROR_NODATA</a>:
+00115     <span class="keywordflow">case</span> <a class="code" href="apreq__error_8h.html#a14">APREQ_ERROR_NOPARSER</a>:
+00116     <span class="keywordflow">case</span> <a class="code" href="apreq__error_8h.html#a13">APREQ_ERROR_NOHEADER</a>:
+00117         <span class="keywordflow">return</span> 0;
+00118     <span class="keywordflow">default</span>:
+00119         <span class="keywordflow">return</span> 1;
+00120     }
+00121 }
+00122 
+00123 
+00133 <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="l00134"></a><a class="code" href="apreq__module_8h.html#a5">00134</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__module_8h.html#a5">apreq_jar</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <span class="keyword">const</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> **t)
+00135 {
+00136     <span class="keywordflow">return</span> req-&gt;module-&gt;jar(req,t);
+00137 }
+00138 
+00148 <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="l00149"></a><a class="code" href="apreq__module_8h.html#a6">00149</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__module_8h.html#a6">apreq_args</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <span class="keyword">const</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> **t)
+00150 {
+00151     <span class="keywordflow">return</span> req-&gt;module-&gt;args(req,t);
+00152 }
+00153 
+00163 <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="l00164"></a><a class="code" href="apreq__module_8h.html#a7">00164</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__module_8h.html#a7">apreq_body</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <span class="keyword">const</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> **t)
+00165 {
+00166     <span class="keywordflow">return</span> req-&gt;module-&gt;body(req, t);
+00167 }
+00168 
+00169 
+00178 <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="l00179"></a><a class="code" href="apreq__module_8h.html#a8">00179</a> <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *<a class="code" href="apreq__module_8h.html#a8">apreq_jar_get</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <span class="keyword">const</span> <span class="keywordtype">char</span> *name)
+00180 {
+00181     <span class="keywordflow">return</span> req-&gt;module-&gt;jar_get(req, name);
+00182 }
+00183 
+00192 <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="l00193"></a><a class="code" href="apreq__module_8h.html#a9">00193</a> <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *<a class="code" href="apreq__module_8h.html#a9">apreq_args_get</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <span class="keyword">const</span> <span class="keywordtype">char</span> *name)
+00194 {
+00195     <span class="keywordflow">return</span> req-&gt;module-&gt;args_get(req, name);
+00196 }
+00197 
+00206 <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="l00207"></a><a class="code" href="apreq__module_8h.html#a10">00207</a> <a class="code" href="structapreq__param__t.html">apreq_param_t</a> *<a class="code" href="apreq__module_8h.html#a10">apreq_body_get</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <span class="keyword">const</span> <span class="keywordtype">char</span> *name)
+00208 {
+00209     <span class="keywordflow">return</span> req-&gt;module-&gt;body_get(req, name);
+00210 }
+00211 
+00221 <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="l00222"></a><a class="code" href="apreq__module_8h.html#a11">00222</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__module_8h.html#a11">apreq_parser_get</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req,
+00223                               <span class="keyword">const</span> <a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> **parser)
+00224 {
+00225     <span class="keywordflow">return</span> req-&gt;module-&gt;parser_get(req, parser);
+00226 }
+00227 
+00228 
+00237 <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="l00238"></a><a class="code" href="apreq__module_8h.html#a12">00238</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__module_8h.html#a12">apreq_parser_set</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req,
+00239                               <a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> *parser)
+00240 {
+00241     <span class="keywordflow">return</span> req-&gt;module-&gt;parser_set(req, parser);
+00242 }
+00243 
+00252 <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="l00253"></a><a class="code" href="apreq__module_8h.html#a13">00253</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__module_8h.html#a13">apreq_hook_add</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <a class="code" href="structapreq__hook__t.html">apreq_hook_t</a> *hook)
+00254 {
+00255     <span class="keywordflow">return</span> req-&gt;module-&gt;hook_add(req, hook);
+00256 }
+00257 
+00258 
+00268 <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="l00269"></a><a class="code" href="apreq__module_8h.html#a14">00269</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__module_8h.html#a14">apreq_brigade_limit_set</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req,
+00270                                      <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> bytes)
+00271 {
+00272     <span class="keywordflow">return</span> req-&gt;module-&gt;brigade_limit_set(req, bytes);
+00273 }
+00274 
+00284 <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="l00285"></a><a class="code" href="apreq__module_8h.html#a15">00285</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__module_8h.html#a15">apreq_brigade_limit_get</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req,
+00286                                      <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> *bytes)
+00287 {
+00288     <span class="keywordflow">return</span> req-&gt;module-&gt;brigade_limit_get(req, bytes);
+00289 }
+00290 
+00300 <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="l00301"></a><a class="code" href="apreq__module_8h.html#a16">00301</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__module_8h.html#a16">apreq_read_limit_set</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req,
+00302                                   <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga6">apr_uint64_t</a> bytes)
+00303 {
+00304     <span class="keywordflow">return</span> req-&gt;module-&gt;read_limit_set(req, bytes);
+00305 }
+00306 
+00316 <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="l00317"></a><a class="code" href="apreq__module_8h.html#a17">00317</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__module_8h.html#a17">apreq_read_limit_get</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req,
+00318                                   <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga6">apr_uint64_t</a> *bytes)
+00319 {
+00320     <span class="keywordflow">return</span> req-&gt;module-&gt;read_limit_get(req, bytes);
+00321 }
+00322 
+00331 <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="l00332"></a><a class="code" href="apreq__module_8h.html#a18">00332</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__module_8h.html#a18">apreq_temp_dir_set</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <span class="keyword">const</span> <span class="keywordtype">char</span> *path)
+00333 {
+00334     <span class="keywordflow">return</span> req-&gt;module-&gt;temp_dir_set(req, path);
+00335 }
+00336 
+00347 <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="l00348"></a><a class="code" href="apreq__module_8h.html#a19">00348</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__module_8h.html#a19">apreq_temp_dir_get</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <span class="keyword">const</span> <span class="keywordtype">char</span> **path)
+00349 {
+00350     <span class="keywordflow">return</span> req-&gt;module-&gt;temp_dir_get(req, path);
+00351 }
+00352 
+00353 
+00354 
+<a name="l00365"></a><a class="code" href="apreq__module_8h.html#a0">00365</a> <span class="preprocessor">#define APREQ_MODULE(pre, mmn) const apreq_module_t     \</span>
+00366 <span class="preprocessor">  pre##_module = { #pre, mmn,                           \</span>
+00367 <span class="preprocessor">  pre##_jar,        pre##_args,       pre##_body,       \</span>
+00368 <span class="preprocessor">  pre##_jar_get,    pre##_args_get,   pre##_body_get,   \</span>
+00369 <span class="preprocessor">  pre##_parser_get, pre##_parser_set, pre##_hook_add,   \</span>
+00370 <span class="preprocessor">  pre##_brigade_limit_get, pre##_brigade_limit_set,     \</span>
+00371 <span class="preprocessor">  pre##_read_limit_get,    pre##_read_limit_set,        \</span>
+00372 <span class="preprocessor">  pre##_temp_dir_get,      pre##_temp_dir_set,          \</span>
+00373 <span class="preprocessor">  }</span>
+00374 <span class="preprocessor"></span>
+00375 
+00387 APREQ_DECLARE(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a>*) <a class="code" href="apreq__module_8h.html#a20">apreq_handle_cgi</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);
+00388 
+00403 APREQ_DECLARE(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a>*) <a class="code" href="apreq__module_8h.html#a21">apreq_handle_custom</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,
+00404                                                    const <span class="keywordtype">char</span> *query_string,
+00405                                                    const <span class="keywordtype">char</span> *cookie,
+00406                                                    <a class="code" href="structapreq__parser__t.html">apreq_parser_t</a> *parser,
+00407                                                    <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga6">apr_uint64_t</a> read_limit,
+00408                                                    <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);
+00409 
+00418 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__module_8h.html#a22">apreq_cookie_bake</a>(const <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c,
+00419                                               <a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req);
+00420 
+00429 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__module_8h.html#a23">apreq_cookie_bake2</a>(const <a class="code" href="structapreq__cookie__t.html">apreq_cookie_t</a> *c,
+00430                                                <a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req);
+00431 
+00442 APREQ_DECLARE(<span class="keywordtype">unsigned</span>)<a class="code" href="apreq__module_8h.html#a24">apreq_ua_cookie_version</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req);
+00443 
+00453 APREQ_DECLARE(<a class="code" href="structapreq__param__t.html">apreq_param_t</a> *)<a class="code" href="apreq__module_8h.html#a25">apreq_param</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, const <span class="keywordtype">char</span> *key);
+00454 
+<a name="l00464"></a><a class="code" href="apreq__module_8h.html#a1">00464</a> #define <a class="code" href="apreq__module_8h.html#a1">apreq_cookie</a>(req, name) <a class="code" href="apreq__module_8h.html#a8">apreq_jar_get</a>(req, name)
+00465 
+00475 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *) <a class="code" href="apreq__module_8h.html#a26">apreq_params</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <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);
+00476 
+00477 
+00484 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *)<a class="code" href="apreq__module_8h.html#a27">apreq_cookies</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req, <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);
+00485 
+00494 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="l00495"></a><a class="code" href="apreq__module_8h.html#a28">00495</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__module_8h.html#a28">apreq_parse</a>(<a class="code" href="structapreq__handle__t.html">apreq_handle_t</a> *req)
+00496 {
+00497     <span class="keyword">const</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *dummy;
+00498     <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> jar_status, args_status, body_status;
+00499 
+00500     jar_status = <a class="code" href="apreq__module_8h.html#a5">apreq_jar</a>(req, &amp;dummy);
+00501     args_status = <a class="code" href="apreq__module_8h.html#a6">apreq_args</a>(req, &amp;dummy);
+00502     body_status = <a class="code" href="apreq__module_8h.html#a7">apreq_body</a>(req, &amp;dummy);
+00503 
+00504     <span class="comment">/* XXX: punt to APREQ_ERROR_GENERAL; need to improve this</span>
+00505 <span class="comment">     * for valid requests where certain data/headers are </span>
+00506 <span class="comment">     * unavailable.</span>
+00507 <span class="comment">     */</span>
+00508     <span class="keywordflow">if</span> (jar_status || args_status || body_status)
+00509         <span class="keywordflow">return</span> <a class="code" href="apreq__error_8h.html#a1">APREQ_ERROR_GENERAL</a>;
+00510 
+00511     <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>;
+00512 }
+00513 
+00514 <span class="preprocessor">#ifdef __cplusplus</span>
+00515 <span class="preprocessor"></span> }
+00516 <span class="preprocessor">#endif</span>
+00517 <span class="preprocessor"></span>
+00518 <span class="preprocessor">#endif </span><span class="comment">/* APREQ_MODULE_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/>
+See <a href="apreq_license.html">LICENSE</a>.</p>
+<p class="menu">
+<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
+version 1.4.2 on 4 May 2005</span>
+</p>
+</div>
+</body>
+</html>



Mime
View raw message