/usr/share/doc/libapache2-request-perl/html/apreq__error_8h.html is in libapreq2-doc 2.13-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 | <html>
<head>
<link rel="stylesheet" type="text/css" href="dox.css" />
<title>libapreq2-2.13: 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> > <a href="http://httpd.apache.org">HTTP Server Project</a> >
<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 Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data 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>
</div>
<div class="contents">
<h1>include/apreq_error.h File Reference</h1>Error status codes.<p>
Define the APREQ_ error codes. <a href="#_details">More...</a>
<p>
<code>#include "<a class="elRef" 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>"</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">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#7f8849f2cb2d0bfd64f644a6ca0cec2b">APR_EBADARG</a> APR_BADARG</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#14b149a0f859ce1078d36db8e8f45a2a">APREQ_ERROR_GENERAL</a> APR_OS_START_USERERR</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#035ee2cee3527332669bdaf17142f520">APREQ_ERROR_TAINTED</a> (APREQ_ERROR_GENERAL + 1)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#91b1099a9cbf13d45a45a14b7d279b75">APREQ_ERROR_INTERRUPT</a> (APREQ_ERROR_GENERAL + 2)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#de2a5d60e2db8fc32d8c43580d74c0c8">APREQ_ERROR_BADDATA</a> (APREQ_ERROR_GENERAL + 10)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#04b6a01738a1ee7fd1ecc79d256e721f">APREQ_ERROR_BADCHAR</a> (APREQ_ERROR_BADDATA + 1)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#73a69e21acc2cf849310a421ab43d2ba">APREQ_ERROR_BADSEQ</a> (APREQ_ERROR_BADDATA + 2)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#3d696f49030bb7fc65f2804037d3ccb7">APREQ_ERROR_BADATTR</a> (APREQ_ERROR_BADDATA + 3)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#11e549980ef0fce49ac7179bb9164d57">APREQ_ERROR_BADHEADER</a> (APREQ_ERROR_BADDATA + 4)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#88ab15be9af4235cb6b1d9c6c512f0e1">APREQ_ERROR_BADUTF8</a> (APREQ_ERROR_BADDATA + 5)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#6e29823668899ad81365ae68f96f3ae4">APREQ_ERROR_NODATA</a> (APREQ_ERROR_GENERAL + 20)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#59be3610ba54a58fbb3cd6bb655ff972">APREQ_ERROR_NOTOKEN</a> (APREQ_ERROR_NODATA + 1)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#ffdf9393e5c9277aeae3ea8d2ecf55fa">APREQ_ERROR_NOATTR</a> (APREQ_ERROR_NODATA + 2)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#3ce3cf5b410b1ccc2e42ae46d4577f20">APREQ_ERROR_NOHEADER</a> (APREQ_ERROR_NODATA + 3)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#02ebfa80f1a413b46212df5682db5890">APREQ_ERROR_NOPARSER</a> (APREQ_ERROR_NODATA + 4)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#33080081185585997ef9c5232ec4dd8f">APREQ_ERROR_MISMATCH</a> (APREQ_ERROR_GENERAL + 30)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#bcc1b4c98b1d8c5d128cffd50afb978e">APREQ_ERROR_OVERLIMIT</a> (APREQ_ERROR_MISMATCH + 1)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#0370b1ba3534f6ae9f422c6b351c79cd">APREQ_ERROR_UNDERLIMIT</a> (APREQ_ERROR_MISMATCH + 2)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#17d6bb14537a52ef53b56e4b385c76b2">APREQ_ERROR_NOTEMPTY</a> (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 * </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq__error_8h.html#48c0198d940b53fbd4d843d7deb65e47">apreq_strerror</a> (<a class="elRef" 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, char *buf, <a class="elRef" 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)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Error status codes.<p>
Define the APREQ_ error codes.
<p>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="7f8849f2cb2d0bfd64f644a6ca0cec2b"></a><!-- doxytag: member="apreq_error.h::APR_EBADARG" ref="7f8849f2cb2d0bfd64f644a6ca0cec2b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APR_EBADARG APR_BADARG </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Bad Arguments return value <dl class="see" compact><dt><b>See also:</b></dt><dd>APR_BADARG </dd></dl>
</div>
</div><p>
<a class="anchor" name="3d696f49030bb7fc65f2804037d3ccb7"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_BADATTR" ref="3d696f49030bb7fc65f2804037d3ccb7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_BADATTR (APREQ_ERROR_BADDATA + 3) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalid attribute.
</div>
</div><p>
<a class="anchor" name="04b6a01738a1ee7fd1ecc79d256e721f"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_BADCHAR" ref="04b6a01738a1ee7fd1ecc79d256e721f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_BADCHAR (APREQ_ERROR_BADDATA + 1) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalid character.
</div>
</div><p>
<a class="anchor" name="de2a5d60e2db8fc32d8c43580d74c0c8"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_BADDATA" ref="de2a5d60e2db8fc32d8c43580d74c0c8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_BADDATA (APREQ_ERROR_GENERAL + 10) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalid input data.
</div>
</div><p>
<a class="anchor" name="11e549980ef0fce49ac7179bb9164d57"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_BADHEADER" ref="11e549980ef0fce49ac7179bb9164d57" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_BADHEADER (APREQ_ERROR_BADDATA + 4) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalid header.
</div>
</div><p>
<a class="anchor" name="73a69e21acc2cf849310a421ab43d2ba"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_BADSEQ" ref="73a69e21acc2cf849310a421ab43d2ba" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_BADSEQ (APREQ_ERROR_BADDATA + 2) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalid byte sequence.
</div>
</div><p>
<a class="anchor" name="88ab15be9af4235cb6b1d9c6c512f0e1"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_BADUTF8" ref="88ab15be9af4235cb6b1d9c6c512f0e1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_BADUTF8 (APREQ_ERROR_BADDATA + 5) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Invalid utf8 encoding.
</div>
</div><p>
<a class="anchor" name="14b149a0f859ce1078d36db8e8f45a2a"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_GENERAL" ref="14b149a0f859ce1078d36db8e8f45a2a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_GENERAL APR_OS_START_USERERR </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Internal apreq error.
</div>
</div><p>
<a class="anchor" name="91b1099a9cbf13d45a45a14b7d279b75"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_INTERRUPT" ref="91b1099a9cbf13d45a45a14b7d279b75" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_INTERRUPT (APREQ_ERROR_GENERAL + 2) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Parsing interrupted.
</div>
</div><p>
<a class="anchor" name="33080081185585997ef9c5232ec4dd8f"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_MISMATCH" ref="33080081185585997ef9c5232ec4dd8f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_MISMATCH (APREQ_ERROR_GENERAL + 30) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Conflicting information.
</div>
</div><p>
<a class="anchor" name="ffdf9393e5c9277aeae3ea8d2ecf55fa"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_NOATTR" ref="ffdf9393e5c9277aeae3ea8d2ecf55fa" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_NOATTR (APREQ_ERROR_NODATA + 2) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Missing attribute.
</div>
</div><p>
<a class="anchor" name="6e29823668899ad81365ae68f96f3ae4"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_NODATA" ref="6e29823668899ad81365ae68f96f3ae4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_NODATA (APREQ_ERROR_GENERAL + 20) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Missing input data.
</div>
</div><p>
<a class="anchor" name="3ce3cf5b410b1ccc2e42ae46d4577f20"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_NOHEADER" ref="3ce3cf5b410b1ccc2e42ae46d4577f20" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_NOHEADER (APREQ_ERROR_NODATA + 3) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Missing header.
</div>
</div><p>
<a class="anchor" name="02ebfa80f1a413b46212df5682db5890"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_NOPARSER" ref="02ebfa80f1a413b46212df5682db5890" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_NOPARSER (APREQ_ERROR_NODATA + 4) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Missing parser.
</div>
</div><p>
<a class="anchor" name="17d6bb14537a52ef53b56e4b385c76b2"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_NOTEMPTY" ref="17d6bb14537a52ef53b56e4b385c76b2" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_NOTEMPTY (APREQ_ERROR_MISMATCH + 3) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Setting already configured.
</div>
</div><p>
<a class="anchor" name="59be3610ba54a58fbb3cd6bb655ff972"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_NOTOKEN" ref="59be3610ba54a58fbb3cd6bb655ff972" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_NOTOKEN (APREQ_ERROR_NODATA + 1) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Missing required token.
</div>
</div><p>
<a class="anchor" name="bcc1b4c98b1d8c5d128cffd50afb978e"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_OVERLIMIT" ref="bcc1b4c98b1d8c5d128cffd50afb978e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_OVERLIMIT (APREQ_ERROR_MISMATCH + 1) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Exceeds configured maximum limit.
</div>
</div><p>
<a class="anchor" name="035ee2cee3527332669bdaf17142f520"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_TAINTED" ref="035ee2cee3527332669bdaf17142f520" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_TAINTED (APREQ_ERROR_GENERAL + 1) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Attempted to perform unsafe action with tainted data.
</div>
</div><p>
<a class="anchor" name="0370b1ba3534f6ae9f422c6b351c79cd"></a><!-- doxytag: member="apreq_error.h::APREQ_ERROR_UNDERLIMIT" ref="0370b1ba3534f6ae9f422c6b351c79cd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_ERROR_UNDERLIMIT (APREQ_ERROR_MISMATCH + 2) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Below configured minimum limit.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="48c0198d940b53fbd4d843d7deb65e47"></a><!-- doxytag: member="apreq_error.h::apreq_strerror" ref="48c0198d940b53fbd4d843d7deb65e47" args="(apr_status_t s, char *buf, apr_size_t bufsize)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">char* apreq_strerror </td>
<td>(</td>
<td class="paramtype"><a class="elRef" 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> </td>
<td class="paramname"> <em>s</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">char * </td>
<td class="paramname"> <em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" 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> </td>
<td class="paramname"> <em>bufsize</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
apreq's wrapper around <a class="elRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/1.3/" href="http://apr.apache.org/docs/apr/1.3/group__apr__errno.html#gf2edf92be162ab8fb1bbc6f22856a131">apr_strerror()</a>; recognizes APREQ_ERROR_* status codes.
</div>
</div><p>
</div>
<div id="footer">
<p class="apache">
Copyright © 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 25 Nov 2010</span>
</p>
</div>
</body>
</html>
|