blob: 842711279416937844882c4e16d5d6b0bf50a338 [file] [log] [blame]
<html>
<head>
<link rel="stylesheet" type="text/css" href="dox.css" />
<title>libapreq2-2.13: 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.6 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
<h1>include/apreq_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...Define the generic APREQ_ macros and common data structures.">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#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<span class="keywordtype">char</span> *)
<a name="l00033"></a>00033 <a class="code" href="apreq__error_8h.html#48c0198d940b53fbd4d843d7deb65e47">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#gf76ee4543247e9fb3f3546203e590a6c">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#gaa72b2253f6f3032cefea5712a27540e">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#7f8849f2cb2d0bfd64f644a6ca0cec2b">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#14b149a0f859ce1078d36db8e8f45a2a">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#035ee2cee3527332669bdaf17142f520">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#91b1099a9cbf13d45a45a14b7d279b75">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#de2a5d60e2db8fc32d8c43580d74c0c8">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#04b6a01738a1ee7fd1ecc79d256e721f">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#73a69e21acc2cf849310a421ab43d2ba">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#3d696f49030bb7fc65f2804037d3ccb7">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#11e549980ef0fce49ac7179bb9164d57">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#88ab15be9af4235cb6b1d9c6c512f0e1">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#6e29823668899ad81365ae68f96f3ae4">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#59be3610ba54a58fbb3cd6bb655ff972">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#ffdf9393e5c9277aeae3ea8d2ecf55fa">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#3ce3cf5b410b1ccc2e42ae46d4577f20">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#02ebfa80f1a413b46212df5682db5890">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#33080081185585997ef9c5232ec4dd8f">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#bcc1b4c98b1d8c5d128cffd50afb978e">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#0370b1ba3534f6ae9f422c6b351c79cd">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#17d6bb14537a52ef53b56e4b385c76b2">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>
<div id="footer">
<p class="apache">
Copyright &copy; 2003-2006 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
See <a href="apreq_license.html">LICENSE</a>.</p>
<p class="menu">
<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
version 1.5.6 on 3 Dec 2010</span>
</p>
</div>
</body>
</html>