File: apreq__error_8h-source.html

package info (click to toggle)
rapache 1.2.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,368 kB
  • sloc: sh: 18,629; ansic: 10,417; perl: 5,675; javascript: 2,800; makefile: 307
file content (89 lines) | stat: -rw-r--r-- 8,998 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<html>
<head>
  <link rel="stylesheet" type="text/css" href="dox.css" />
  <title>libapreq2-2.05-dev: 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.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</h1><a href="apreq__error_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_ERROR_H</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_ERROR_H</span>
00019 <span class="preprocessor"></span>
00020 <span class="preprocessor">#include "<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__errno_8h.html">apr_errno.h</a>"</span>
00021 <span class="preprocessor">#include "<a class="code" href="apreq_8h.html">apreq.h</a>"</span>
00022 
00023 <span class="preprocessor">#ifdef  __cplusplus</span>
00024 <span class="preprocessor"></span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
00025 <span class="preprocessor">#endif </span>
00026 <span class="preprocessor"></span>
00031 APREQ_DECLARE(<span class="keywordtype">char</span> *)
00032 <a class="code" href="apreq__error_8h.html#a19">apreq_strerror</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, <span class="keywordtype">char</span> *buf, <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> bufsize);
00033 
00042 #ifndef APR_EBADARG
00043 #define APR_EBADARG                <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#ga35">APR_BADARG</a>   <span class="comment">/* XXX: don't use APR_BADARG */</span>
00044 #endif
00045 
<a name="l00047"></a><a class="code" href="apreq__error_8h.html#a1">00047</a> #define <a class="code" href="apreq__error_8h.html#a1">APREQ_ERROR_GENERAL</a>        <a class="codeRef" 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>
<a name="l00049"></a><a class="code" href="apreq__error_8h.html#a2">00049</a> #define <a class="code" href="apreq__error_8h.html#a2">APREQ_ERROR_TAINTED</a>        (<a class="code" href="apreq__error_8h.html#a1">APREQ_ERROR_GENERAL</a> + 1)
<a name="l00051"></a><a class="code" href="apreq__error_8h.html#a3">00051</a> #define <a class="code" href="apreq__error_8h.html#a3">APREQ_ERROR_INTERRUPT</a>      (<a class="code" href="apreq__error_8h.html#a1">APREQ_ERROR_GENERAL</a> + 2)
00052 
<a name="l00054"></a><a class="code" href="apreq__error_8h.html#a4">00054</a> #define <a class="code" href="apreq__error_8h.html#a4">APREQ_ERROR_BADDATA</a>        (<a class="code" href="apreq__error_8h.html#a1">APREQ_ERROR_GENERAL</a>  + 10)
<a name="l00056"></a><a class="code" href="apreq__error_8h.html#a5">00056</a> #define <a class="code" href="apreq__error_8h.html#a5">APREQ_ERROR_BADCHAR</a>        (<a class="code" href="apreq__error_8h.html#a4">APREQ_ERROR_BADDATA</a>  +  1)
<a name="l00058"></a><a class="code" href="apreq__error_8h.html#a6">00058</a> #define <a class="code" href="apreq__error_8h.html#a6">APREQ_ERROR_BADSEQ</a>         (<a class="code" href="apreq__error_8h.html#a4">APREQ_ERROR_BADDATA</a>  +  2)
<a name="l00060"></a><a class="code" href="apreq__error_8h.html#a7">00060</a> #define <a class="code" href="apreq__error_8h.html#a7">APREQ_ERROR_BADATTR</a>        (<a class="code" href="apreq__error_8h.html#a4">APREQ_ERROR_BADDATA</a>  +  3)
<a name="l00062"></a><a class="code" href="apreq__error_8h.html#a8">00062</a> #define <a class="code" href="apreq__error_8h.html#a8">APREQ_ERROR_BADHEADER</a>      (<a class="code" href="apreq__error_8h.html#a4">APREQ_ERROR_BADDATA</a>  +  4)
<a name="l00064"></a><a class="code" href="apreq__error_8h.html#a9">00064</a> #define <a class="code" href="apreq__error_8h.html#a9">APREQ_ERROR_BADUTF8</a>        (<a class="code" href="apreq__error_8h.html#a4">APREQ_ERROR_BADDATA</a>  +  5)
00065 
<a name="l00067"></a><a class="code" href="apreq__error_8h.html#a10">00067</a> #define <a class="code" href="apreq__error_8h.html#a10">APREQ_ERROR_NODATA</a>         (<a class="code" href="apreq__error_8h.html#a1">APREQ_ERROR_GENERAL</a>  + 20)
<a name="l00069"></a><a class="code" href="apreq__error_8h.html#a11">00069</a> #define <a class="code" href="apreq__error_8h.html#a11">APREQ_ERROR_NOTOKEN</a>        (<a class="code" href="apreq__error_8h.html#a10">APREQ_ERROR_NODATA</a>   +  1)
<a name="l00071"></a><a class="code" href="apreq__error_8h.html#a12">00071</a> #define <a class="code" href="apreq__error_8h.html#a12">APREQ_ERROR_NOATTR</a>         (<a class="code" href="apreq__error_8h.html#a10">APREQ_ERROR_NODATA</a>   +  2)
<a name="l00073"></a><a class="code" href="apreq__error_8h.html#a13">00073</a> #define <a class="code" href="apreq__error_8h.html#a13">APREQ_ERROR_NOHEADER</a>       (<a class="code" href="apreq__error_8h.html#a10">APREQ_ERROR_NODATA</a>   +  3)
<a name="l00075"></a><a class="code" href="apreq__error_8h.html#a14">00075</a> #define <a class="code" href="apreq__error_8h.html#a14">APREQ_ERROR_NOPARSER</a>       (<a class="code" href="apreq__error_8h.html#a10">APREQ_ERROR_NODATA</a>   +  4)
00076 
00077 
<a name="l00079"></a><a class="code" href="apreq__error_8h.html#a15">00079</a> #define <a class="code" href="apreq__error_8h.html#a15">APREQ_ERROR_MISMATCH</a>       (<a class="code" href="apreq__error_8h.html#a1">APREQ_ERROR_GENERAL</a>  + 30)
<a name="l00081"></a><a class="code" href="apreq__error_8h.html#a16">00081</a> #define <a class="code" href="apreq__error_8h.html#a16">APREQ_ERROR_OVERLIMIT</a>      (<a class="code" href="apreq__error_8h.html#a15">APREQ_ERROR_MISMATCH</a> +  1)
<a name="l00083"></a><a class="code" href="apreq__error_8h.html#a17">00083</a> #define <a class="code" href="apreq__error_8h.html#a17">APREQ_ERROR_UNDERLIMIT</a>     (<a class="code" href="apreq__error_8h.html#a15">APREQ_ERROR_MISMATCH</a> +  2)
<a name="l00085"></a><a class="code" href="apreq__error_8h.html#a18">00085</a> #define <a class="code" href="apreq__error_8h.html#a18">APREQ_ERROR_NOTEMPTY</a>       (<a class="code" href="apreq__error_8h.html#a15">APREQ_ERROR_MISMATCH</a> +  3)
00086 
00087 
00088 #ifdef __cplusplus
00089  }
00090 #endif
00091 
00092 #endif <span class="comment">/* APREQ_ERROR_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>