| <!-- HTML header for doxygen 1.9.1--> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.9.1"/> |
| <meta name="viewport" content="width=device-width, initial-scale=1"/> |
| <title>libapreq2-2.17: include/apreq_error.h Source File</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="customdoxygen.css" rel="stylesheet" type="text/css" /> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0" width="100%"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <!-- |
| <td id="projectlogo"><img alt="Logo" src="feather.png"/></td> |
| --> |
| <!-- |
| <td id="projectalign" style="padding-left: 0.5em;"> |
| <div id="projectname">libapreq2 |
| < !--BEGIN PROJECT_NUMBER-- > <span id="projectnumber">2.17</span>< !--END PROJECT_NUMBER-- > |
| </div> |
| < !--BEGIN PROJECT_BRIEF-- ><div id="projectbrief"></div>< !--END PROJECT_BRIEF-- > |
| </td> |
| --> |
| <td> |
| <div id="page-header"> |
| <p class="menu"> |
| <a href="https://www.apache.org/">Apache Software Foundation</a> > |
| <a href="https://httpd.apache.org">HTTP Server Project</a> > |
| <a href="https://httpd.apache.org/apreq/">Request Library Subproject</a> |
| </p> |
| <p class="apache">Apache HTTP Server Request Library - 2.17</p> |
| <img alt="" src="feather.png" /> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.9.1 --> |
| <script type="text/javascript" src="menudata.js"></script> |
| <script type="text/javascript" src="menu.js"></script> |
| <script type="text/javascript"> |
| /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ |
| $(function() { |
| initMenu('',false,false,'search.php','Search'); |
| }); |
| /* @license-end */</script> |
| <div id="main-nav"></div> |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="headertitle"> |
| <div class="title">apreq_error.h</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <a href="apreq__error_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> |
| <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">** Licensed to the Apache Software Foundation (ASF) under one or more</span></div> |
| <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">** contributor license agreements. See the NOTICE file distributed with</span></div> |
| <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">** this work for additional information regarding copyright ownership.</span></div> |
| <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">** The ASF licenses this file to You under the Apache License, Version 2.0</span></div> |
| <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">** (the "License"); you may not use this file except in compliance with</span></div> |
| <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">** the License. You may obtain a copy of the License at</span></div> |
| <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">**</span></div> |
| <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">** http://www.apache.org/licenses/LICENSE-2.0</span></div> |
| <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">**</span></div> |
| <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">** Unless required by applicable law or agreed to in writing, software</span></div> |
| <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">** distributed under the License is distributed on an "AS IS" BASIS,</span></div> |
| <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div> |
| <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">** See the License for the specific language governing permissions and</span></div> |
| <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">** limitations under the License.</span></div> |
| <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">*/</span></div> |
| <div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div> |
| <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef APREQ_ERROR_H</span></div> |
| <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#define APREQ_ERROR_H</span></div> |
| <div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div> |
| <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="codeRef" href="http://apr.apache.org/docs/apr/1.7/apr__errno_8h.html">apr_errno.h</a>"</span></div> |
| <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="apreq_8h.html">apreq.h</a>"</span></div> |
| <div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div> |
| <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifdef __cplusplus</span></div> |
| <div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div> |
| <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#endif</span></div> |
| <div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div> |
| <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <a class="code" href="apreq_8h.html#a02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(<span class="keywordtype">char</span> *)</div> |
| <div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a48c0198d940b53fbd4d843d7deb65e47"> 33</a></span> <a class="code" href="apreq__error_8h.html#a48c0198d940b53fbd4d843d7deb65e47">apreq_strerror</a>(<a class="codeRef" href="http://apr.apache.org/docs/apr/1.7/group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a> s, <span class="keywordtype">char</span> *buf, apr_size_t bufsize);</div> |
| <div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div> |
| <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#ifndef APR_EBADARG</span></div> |
| <div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a7f8849f2cb2d0bfd64f644a6ca0cec2b"> 48</a></span> <span class="preprocessor">#define APR_EBADARG APR_BADARG </span><span class="comment">/* XXX: don't use APR_BADARG */</span><span class="preprocessor"></span></div> |
| <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#endif</span></div> |
| <div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div> |
| <div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a14b149a0f859ce1078d36db8e8f45a2a"> 52</a></span> <span class="preprocessor">#define APREQ_ERROR_GENERAL APR_OS_START_USERERR</span></div> |
| <div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a035ee2cee3527332669bdaf17142f520"> 54</a></span> <span class="preprocessor">#define APREQ_ERROR_TAINTED (APREQ_ERROR_GENERAL + 1)</span></div> |
| <div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a91b1099a9cbf13d45a45a14b7d279b75"> 56</a></span> <span class="preprocessor">#define APREQ_ERROR_INTERRUPT (APREQ_ERROR_GENERAL + 2)</span></div> |
| <div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div> |
| <div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#ade2a5d60e2db8fc32d8c43580d74c0c8"> 59</a></span> <span class="preprocessor">#define APREQ_ERROR_BADDATA (APREQ_ERROR_GENERAL + 10)</span></div> |
| <div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a04b6a01738a1ee7fd1ecc79d256e721f"> 61</a></span> <span class="preprocessor">#define APREQ_ERROR_BADCHAR (APREQ_ERROR_BADDATA + 1)</span></div> |
| <div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a73a69e21acc2cf849310a421ab43d2ba"> 63</a></span> <span class="preprocessor">#define APREQ_ERROR_BADSEQ (APREQ_ERROR_BADDATA + 2)</span></div> |
| <div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a3d696f49030bb7fc65f2804037d3ccb7"> 65</a></span> <span class="preprocessor">#define APREQ_ERROR_BADATTR (APREQ_ERROR_BADDATA + 3)</span></div> |
| <div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a11e549980ef0fce49ac7179bb9164d57"> 67</a></span> <span class="preprocessor">#define APREQ_ERROR_BADHEADER (APREQ_ERROR_BADDATA + 4)</span></div> |
| <div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a88ab15be9af4235cb6b1d9c6c512f0e1"> 69</a></span> <span class="preprocessor">#define APREQ_ERROR_BADUTF8 (APREQ_ERROR_BADDATA + 5)</span></div> |
| <div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div> |
| <div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a6e29823668899ad81365ae68f96f3ae4"> 72</a></span> <span class="preprocessor">#define APREQ_ERROR_NODATA (APREQ_ERROR_GENERAL + 20)</span></div> |
| <div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a59be3610ba54a58fbb3cd6bb655ff972"> 74</a></span> <span class="preprocessor">#define APREQ_ERROR_NOTOKEN (APREQ_ERROR_NODATA + 1)</span></div> |
| <div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#affdf9393e5c9277aeae3ea8d2ecf55fa"> 76</a></span> <span class="preprocessor">#define APREQ_ERROR_NOATTR (APREQ_ERROR_NODATA + 2)</span></div> |
| <div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a3ce3cf5b410b1ccc2e42ae46d4577f20"> 78</a></span> <span class="preprocessor">#define APREQ_ERROR_NOHEADER (APREQ_ERROR_NODATA + 3)</span></div> |
| <div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a02ebfa80f1a413b46212df5682db5890"> 80</a></span> <span class="preprocessor">#define APREQ_ERROR_NOPARSER (APREQ_ERROR_NODATA + 4)</span></div> |
| <div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  </div> |
| <div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div> |
| <div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a33080081185585997ef9c5232ec4dd8f"> 84</a></span> <span class="preprocessor">#define APREQ_ERROR_MISMATCH (APREQ_ERROR_GENERAL + 30)</span></div> |
| <div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#abcc1b4c98b1d8c5d128cffd50afb978e"> 86</a></span> <span class="preprocessor">#define APREQ_ERROR_OVERLIMIT (APREQ_ERROR_MISMATCH + 1)</span></div> |
| <div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a0370b1ba3534f6ae9f422c6b351c79cd"> 88</a></span> <span class="preprocessor">#define APREQ_ERROR_UNDERLIMIT (APREQ_ERROR_MISMATCH + 2)</span></div> |
| <div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="apreq__error_8h.html#a17d6bb14537a52ef53b56e4b385c76b2"> 90</a></span> <span class="preprocessor">#define APREQ_ERROR_NOTEMPTY (APREQ_ERROR_MISMATCH + 3)</span></div> |
| <div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  </div> |
| <div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div> |
| <div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="preprocessor">#ifdef __cplusplus</span></div> |
| <div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  }</div> |
| <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> <span class="preprocessor">#endif</span></div> |
| <div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  </div> |
| <div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="preprocessor">#endif </span><span class="comment">/* APREQ_ERROR_H */</span><span class="preprocessor"></span></div> |
| <div class="ttc" id="aapr__errno_8h.html_html"><div class="ttname"><a href="http://apr.apache.org/docs/apr/1.7/apr__errno_8h.html">apr_errno.h</a></div></div> |
| <div class="ttc" id="aapreq_8h_html"><div class="ttname"><a href="apreq_8h.html">apreq.h</a></div><div class="ttdoc">Main header file...</div></div> |
| <div class="ttc" id="aapreq_8h_html_a02bf89714a74397155a11b9ccb942b0d"><div class="ttname"><a href="apreq_8h.html#a02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a></div><div class="ttdeci">#define APREQ_DECLARE(d)</div><div class="ttdef"><b>Definition:</b> apreq.h:50</div></div> |
| <div class="ttc" id="aapreq__error_8h_html_a48c0198d940b53fbd4d843d7deb65e47"><div class="ttname"><a href="apreq__error_8h.html#a48c0198d940b53fbd4d843d7deb65e47">apreq_strerror</a></div><div class="ttdeci">char * apreq_strerror(apr_status_t s, char *buf, apr_size_t bufsize)</div></div> |
| <div class="ttc" id="agroup__apr__errno_html_gaf76ee4543247e9fb3f3546203e590a6c"><div class="ttname"><a href="http://apr.apache.org/docs/apr/1.7/group__apr__errno.html#gaf76ee4543247e9fb3f3546203e590a6c">apr_status_t</a></div><div class="ttdeci">int apr_status_t</div></div> |
| </div><!-- fragment --></div><!-- contents --> |
| <!-- HTML footer for doxygen 1.9.1--> |
| <!-- start footer part --> |
| <hr class="footer"/> |
| <table class="footer"> |
| <td> |
| <address class="footer_left"><small> |
| Copyright © 2003-2022 <a href="https://www.apache.org">The Apache Software Foundation</a>.<br/> |
| See <a href="apreq_license.html">LICENSE</a>. |
| </small></address> |
| </td> |
| <td> |
| <address class="footer"><small> |
| Generated on Sat Sep 3 2022 17:23:06 for libapreq2 by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 |
| </small></address> |
| </td> |
| </table> |
| </body> |
| </html> |