The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
<html>
<head>
  <link rel="stylesheet" type="text/css" href="dox.css" />
  <title>libapreq2-2.12: libapreq2: include/apreq_error.h Source File</title> 
</head>
<body>
<div id="page-header">
<p class="menu">
   <a href="http://www.apache.org/">Apache Software Foundation</a> &gt; <a href="http://httpd.apache.org">HTTP Server Project</a> &gt;
<a href="http://httpd.apache.org/apreq/">Request Library Subproject</a></p>
<p class="apache">Apache HTTP Server Request Library</p>
<img alt="" src="feather.gif" /></div>
<!-- Generated by Doxygen 1.5.2 -->
<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 class="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_error.h</h1><a href="apreq__error_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment">**  Licensed to the Apache Software Foundation (ASF) under one or more</span>
<a name="l00003"></a>00003 <span class="comment">** contributor license agreements.  See the NOTICE file distributed with</span>
<a name="l00004"></a>00004 <span class="comment">** this work for additional information regarding copyright ownership.</span>
<a name="l00005"></a>00005 <span class="comment">** The ASF licenses this file to You under the Apache License, Version 2.0</span>
<a name="l00006"></a>00006 <span class="comment">** (the "License"); you may not use this file except in compliance with</span>
<a name="l00007"></a>00007 <span class="comment">** the License.  You may obtain a copy of the License at</span>
<a name="l00008"></a>00008 <span class="comment">**</span>
<a name="l00009"></a>00009 <span class="comment">**      http://www.apache.org/licenses/LICENSE-2.0</span>
<a name="l00010"></a>00010 <span class="comment">**</span>
<a name="l00011"></a>00011 <span class="comment">**  Unless required by applicable law or agreed to in writing, software</span>
<a name="l00012"></a>00012 <span class="comment">**  distributed under the License is distributed on an "AS IS" BASIS,</span>
<a name="l00013"></a>00013 <span class="comment">**  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span>
<a name="l00014"></a>00014 <span class="comment">**  See the License for the specific language governing permissions and</span>
<a name="l00015"></a>00015 <span class="comment">**  limitations under the License.</span>
<a name="l00016"></a>00016 <span class="comment">*/</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef APREQ_ERROR_H</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_ERROR_H</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#include "<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/apr__errno_8h.html">apr_errno.h</a>"</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="apreq_8h.html" title="Main header file...">apreq.h</a>"</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="preprocessor">#ifdef  __cplusplus</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00026"></a>00026 <span class="preprocessor">#endif</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span>
<a name="l00032"></a>00032 <a class="code" href="apreq_8h.html#556c7afa0862221393d99ad2009d5573">APREQ_DECLARE</a>(<span class="keywordtype">char</span> *)
<a name="l00033"></a>00033 <a class="code" href="apreq__error_8h.html#7717ebfd951f7f44dd85c233905bd06d">apreq_strerror</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gg4cf2ddae3efce70c508ac7fefc1c47f7">apr_status_t</a> s, <span class="keywordtype">char</span> *buf, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__platform.html#gg8a24b3f35155b04b2618e814d442709c">apr_size_t</a> bufsize);
<a name="l00034"></a>00034 
<a name="l00043"></a>00043 <span class="preprocessor">#ifndef APR_EBADARG</span>
<a name="l00044"></a>00044 <span class="preprocessor"></span>
<a name="l00048"></a><a class="code" href="apreq__error_8h.html#26a46be088839260021da989edcc4401">00048</a> <span class="preprocessor">#define APR_EBADARG                APR_BADARG   </span><span class="comment">/* XXX: don't use APR_BADARG */</span>
<a name="l00049"></a>00049 <span class="preprocessor">#endif</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00052"></a><a class="code" href="apreq__error_8h.html#7eae3941550bcd7684efdb1f97ddd357">00052</a> <span class="preprocessor">#define APREQ_ERROR_GENERAL        APR_OS_START_USERERR</span>
<a name="l00053"></a>00053 <span class="preprocessor"></span>
<a name="l00054"></a><a class="code" href="apreq__error_8h.html#446a863044e41dd8022e6311bb14dbd8">00054</a> <span class="preprocessor">#define APREQ_ERROR_TAINTED        (APREQ_ERROR_GENERAL + 1)</span>
<a name="l00055"></a>00055 <span class="preprocessor"></span>
<a name="l00056"></a><a class="code" href="apreq__error_8h.html#8f7f22c139d405197fb40fc24ea88f3d">00056</a> <span class="preprocessor">#define APREQ_ERROR_INTERRUPT      (APREQ_ERROR_GENERAL + 2)</span>
<a name="l00057"></a>00057 <span class="preprocessor"></span>
<a name="l00059"></a><a class="code" href="apreq__error_8h.html#e0a44cf61358434d9e06361821842f92">00059</a> <span class="preprocessor">#define APREQ_ERROR_BADDATA        (APREQ_ERROR_GENERAL  + 10)</span>
<a name="l00060"></a>00060 <span class="preprocessor"></span>
<a name="l00061"></a><a class="code" href="apreq__error_8h.html#6b3acd6dfc132e3ea8ac310bf63aba04">00061</a> <span class="preprocessor">#define APREQ_ERROR_BADCHAR        (APREQ_ERROR_BADDATA  +  1)</span>
<a name="l00062"></a>00062 <span class="preprocessor"></span>
<a name="l00063"></a><a class="code" href="apreq__error_8h.html#1ca7fd544bfb795c632bb105cfc2c0fd">00063</a> <span class="preprocessor">#define APREQ_ERROR_BADSEQ         (APREQ_ERROR_BADDATA  +  2)</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span>
<a name="l00065"></a><a class="code" href="apreq__error_8h.html#d753690860f0cda7ed53cf707e7173b0">00065</a> <span class="preprocessor">#define APREQ_ERROR_BADATTR        (APREQ_ERROR_BADDATA  +  3)</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00067"></a><a class="code" href="apreq__error_8h.html#dcaf83f9fe493c5bef7775083edf6e12">00067</a> <span class="preprocessor">#define APREQ_ERROR_BADHEADER      (APREQ_ERROR_BADDATA  +  4)</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>
<a name="l00069"></a><a class="code" href="apreq__error_8h.html#93c627da9da8f5922948177c5cf4125b">00069</a> <span class="preprocessor">#define APREQ_ERROR_BADUTF8        (APREQ_ERROR_BADDATA  +  5)</span>
<a name="l00070"></a>00070 <span class="preprocessor"></span>
<a name="l00072"></a><a class="code" href="apreq__error_8h.html#7cd745b9908f43dd0a5af888c2057500">00072</a> <span class="preprocessor">#define APREQ_ERROR_NODATA         (APREQ_ERROR_GENERAL  + 20)</span>
<a name="l00073"></a>00073 <span class="preprocessor"></span>
<a name="l00074"></a><a class="code" href="apreq__error_8h.html#b24e52d772fd927300dcf69f3573fe3f">00074</a> <span class="preprocessor">#define APREQ_ERROR_NOTOKEN        (APREQ_ERROR_NODATA   +  1)</span>
<a name="l00075"></a>00075 <span class="preprocessor"></span>
<a name="l00076"></a><a class="code" href="apreq__error_8h.html#2147d545b92cf6c96809f6b4869c813c">00076</a> <span class="preprocessor">#define APREQ_ERROR_NOATTR         (APREQ_ERROR_NODATA   +  2)</span>
<a name="l00077"></a>00077 <span class="preprocessor"></span>
<a name="l00078"></a><a class="code" href="apreq__error_8h.html#7589b34342e065d712ebfc83f3928d7b">00078</a> <span class="preprocessor">#define APREQ_ERROR_NOHEADER       (APREQ_ERROR_NODATA   +  3)</span>
<a name="l00079"></a>00079 <span class="preprocessor"></span>
<a name="l00080"></a><a class="code" href="apreq__error_8h.html#7fdcf2c03dadda05c48c8bb1928d0731">00080</a> <span class="preprocessor">#define APREQ_ERROR_NOPARSER       (APREQ_ERROR_NODATA   +  4)</span>
<a name="l00081"></a>00081 <span class="preprocessor"></span>
<a name="l00082"></a>00082 
<a name="l00084"></a><a class="code" href="apreq__error_8h.html#7e9ec99ca441cb841e6b88a12b4c5141">00084</a> <span class="preprocessor">#define APREQ_ERROR_MISMATCH       (APREQ_ERROR_GENERAL  + 30)</span>
<a name="l00085"></a>00085 <span class="preprocessor"></span>
<a name="l00086"></a><a class="code" href="apreq__error_8h.html#47e84cf0c2ae84140f05aec286b63548">00086</a> <span class="preprocessor">#define APREQ_ERROR_OVERLIMIT      (APREQ_ERROR_MISMATCH +  1)</span>
<a name="l00087"></a>00087 <span class="preprocessor"></span>
<a name="l00088"></a><a class="code" href="apreq__error_8h.html#eced3896a48094286ff3a8337f362337">00088</a> <span class="preprocessor">#define APREQ_ERROR_UNDERLIMIT     (APREQ_ERROR_MISMATCH +  2)</span>
<a name="l00089"></a>00089 <span class="preprocessor"></span>
<a name="l00090"></a><a class="code" href="apreq__error_8h.html#0998dda171eae58afacce44612a6c844">00090</a> <span class="preprocessor">#define APREQ_ERROR_NOTEMPTY       (APREQ_ERROR_MISMATCH +  3)</span>
<a name="l00091"></a>00091 <span class="preprocessor"></span>
<a name="l00092"></a>00092 
<a name="l00093"></a>00093 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00094"></a>00094 <span class="preprocessor"></span> }
<a name="l00095"></a>00095 <span class="preprocessor">#endif</span>
<a name="l00096"></a>00096 <span class="preprocessor"></span>
<a name="l00097"></a>00097 <span class="preprocessor">#endif </span><span class="comment">/* APREQ_ERROR_H */</span>
</pre></div><div id="footer">
<p class="apache">
Copyright &copy; 2003-2006 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
See <a href="apreq_license.html">LICENSE</a>.</p>
<p class="menu">
<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
version 1.5.2 on 6 Mar 2009</span>
</p>
</div>
</body>
</html>