/usr/share/doc/libapache2-request-perl/html/apreq_8h.html is in libapreq2-doc 2.13-3ubuntu2.
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 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 | <html>
<head>
<link rel="stylesheet" type="text/css" href="dox.css" />
<title>libapreq2-2.13: libapreq2: include/apreq.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.h File Reference</h1>Main header file...<p>
Define the generic APREQ_ macros and common data structures. <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__tables_8h.html">apr_tables.h</a>"</code><br>
<code>#include <stddef.h></code><br>
<p>
<a href="apreq_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>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structapreq__value__t.html">apreq_value_t</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">libapreq's pre-extensible string type <a href="structapreq__value__t.html#_details">More...</a><br></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_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a>(d) APR_DECLARE(d)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#8a1e7333187fdbc476473ac72d2ff38b">APREQ_DECLARE_NONSTD</a>(d) APR_DECLARE_NONSTD(d)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#142563500999527d486a2eac8c3a0973">APREQ_DECLARE_DATA</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#73bfd1896ab59181f8e052fb8cc147cd">APREQ_DEFAULT_READ_BLOCK_SIZE</a> (64 * 1024)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#744fa55285c4a3868a9154f473d58ac4">APREQ_DEFAULT_READ_LIMIT</a> (64 * 1024 * 1024)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#f54c8645b8266fa7c9b2e261c608744f">APREQ_DEFAULT_BRIGADE_LIMIT</a> (256 * 1024)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#253093cc2fffe7094828714ade120466">APREQ_DEFAULT_NELTS</a> 8</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a>(f, name) ((f) &= ~(name##_MASK << name##_BIT))</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a>(f, name) ((f) |= (name##_MASK << name##_BIT))</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a>(f, name) (((f) >> name##_BIT) & name##_MASK)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a>(f, name, value)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#a9a11ce4168273452b3fde6e42221d74">APREQ_CHARSET_BIT</a> 0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#901fbcbe68a29cfce368b6640bd5bcde">APREQ_CHARSET_MASK</a> 255</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#cecc7cc6c676725990e0be5f14179ca7">APREQ_TAINTED_BIT</a> 8</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#3b151396d29841edc92a2889a38fda79">APREQ_TAINTED_MASK</a> 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#16af9730d0124fef7849c36121d63141">APREQ_COOKIE_VERSION_BIT</a> 11</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#e70e687e9866ea4a61ed3594c97bf5ce">APREQ_COOKIE_VERSION_MASK</a> 3</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#79ac15b3b3d9905367b9758514513dc0">APREQ_COOKIE_SECURE_BIT</a> 13</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#cbe05bd23b067595cae2318473f42d9a">APREQ_COOKIE_SECURE_MASK</a> 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#9fc978fd97cc558ff5f51a14503daab7">APREQ_COOKIE_HTTPONLY_BIT</a> 14</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#71f0dc8a9004339edfa279266fab50e8">APREQ_COOKIE_HTTPONLY_MASK</a> 1</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#6355f965e8eabf742537bfd8da534376">apreq_attr_to_type</a>(T, A, P) ( (T*) ((char*)(P)-offsetof(T,A)) )</td></tr>
<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a> { <b>APREQ_CHARSET_ASCII</b> = 0,
<b>APREQ_CHARSET_LATIN1</b> = 1,
<b>APREQ_CHARSET_CP1252</b> = 2,
<b>APREQ_CHARSET_UTF8</b> = 8
}</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#c3784c04255e92629350505d35b0473e">apreq_join_t</a> { <a class="el" href="apreq_8h.html#c3784c04255e92629350505d35b0473e9b74c73cbfdf7aad3effc0627018ff08">APREQ_JOIN_AS_IS</a>,
<a class="el" href="apreq_8h.html#c3784c04255e92629350505d35b0473e6cc82b38c229380cc7fbb274b7e3cf36">APREQ_JOIN_ENCODE</a>,
<a class="el" href="apreq_8h.html#c3784c04255e92629350505d35b0473e9dd8468f9547f1dee0709f906e98cdc6">APREQ_JOIN_DECODE</a>,
<a class="el" href="apreq_8h.html#c3784c04255e92629350505d35b0473eb22a5a8f345963488381335b2f909fb9">APREQ_JOIN_QUOTE</a>
}</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#590d7bfd9cd294f652d388c4f37fc8d5">apreq_match_t</a> { <a class="el" href="apreq_8h.html#590d7bfd9cd294f652d388c4f37fc8d56ff614170217cfafb5c32c1cefd6caba">APREQ_MATCH_FULL</a>,
<a class="el" href="apreq_8h.html#590d7bfd9cd294f652d388c4f37fc8d52fbd9432fdb0e8bec90bd9ec76dcb3f9">APREQ_MATCH_PARTIAL</a>
}</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#eb51f7cb925e3218c622ff82b8ee2f70">apreq_expires_t</a> { <a class="el" href="apreq_8h.html#eb51f7cb925e3218c622ff82b8ee2f70d0fecca3f99d74b155630437504119f5">APREQ_EXPIRES_HTTP</a>,
<a class="el" href="apreq_8h.html#eb51f7cb925e3218c622ff82b8ee2f70a7e0989ec9839a8494ea328ff30eb5a1">APREQ_EXPIRES_NSCOOKIE</a>
}</td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static APR_INLINE void </td><td class="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#0d27c51db1532fa3f829838ed90f6226">apreq_value_table_add</a> (const <a class="el" href="structapreq__value__t.html">apreq_value_t</a> *v, <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__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> *t)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#163e7aaee57baa89b4d7e00a4279b035">apreq_initialize</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__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#ff013107e72c94b917617fd42dce79e8">apreq_pre_initialize</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__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><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="memItemRight" valign="bottom"><a class="el" href="apreq_8h.html#cecad02f3b9982190143d1097bbfa555">apreq_post_initialize</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__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> *pool)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Main header file...<p>
Define the generic APREQ_ macros and common data structures.
<p>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="6355f965e8eabf742537bfd8da534376"></a><!-- doxytag: member="apreq.h::apreq_attr_to_type" ref="6355f965e8eabf742537bfd8da534376" args="(T, A, P)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define apreq_attr_to_type </td>
<td>(</td>
<td class="paramtype">T, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">A, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">P </td>
<td class="paramname"> </td>
<td> ) </td>
<td> ( (T*) ((char*)(P)-offsetof(T,A)) )</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>T</em> </td><td>type </td></tr>
<tr><td valign="top"></td><td valign="top"><em>A</em> </td><td>attribute </td></tr>
<tr><td valign="top"></td><td valign="top"><em>P</em> </td><td>XXX </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="a9a11ce4168273452b3fde6e42221d74"></a><!-- doxytag: member="apreq.h::APREQ_CHARSET_BIT" ref="a9a11ce4168273452b3fde6e42221d74" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_CHARSET_BIT 0 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Charset Bit <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="901fbcbe68a29cfce368b6640bd5bcde"></a><!-- doxytag: member="apreq.h::APREQ_CHARSET_MASK" ref="901fbcbe68a29cfce368b6640bd5bcde" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_CHARSET_MASK 255 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Charset Mask <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="9fc978fd97cc558ff5f51a14503daab7"></a><!-- doxytag: member="apreq.h::APREQ_COOKIE_HTTPONLY_BIT" ref="9fc978fd97cc558ff5f51a14503daab7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_COOKIE_HTTPONLY_BIT 14 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cookie's HttpOnly Bit <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="71f0dc8a9004339edfa279266fab50e8"></a><!-- doxytag: member="apreq.h::APREQ_COOKIE_HTTPONLY_MASK" ref="71f0dc8a9004339edfa279266fab50e8" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_COOKIE_HTTPONLY_MASK 1 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cookie's HttpOnly Mask <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="79ac15b3b3d9905367b9758514513dc0"></a><!-- doxytag: member="apreq.h::APREQ_COOKIE_SECURE_BIT" ref="79ac15b3b3d9905367b9758514513dc0" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_COOKIE_SECURE_BIT 13 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cookie's Secure Bit <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="cbe05bd23b067595cae2318473f42d9a"></a><!-- doxytag: member="apreq.h::APREQ_COOKIE_SECURE_MASK" ref="cbe05bd23b067595cae2318473f42d9a" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_COOKIE_SECURE_MASK 1 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cookie's Secure Mask <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="16af9730d0124fef7849c36121d63141"></a><!-- doxytag: member="apreq.h::APREQ_COOKIE_VERSION_BIT" ref="16af9730d0124fef7849c36121d63141" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_COOKIE_VERSION_BIT 11 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cookier Version Bit <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="e70e687e9866ea4a61ed3594c97bf5ce"></a><!-- doxytag: member="apreq.h::APREQ_COOKIE_VERSION_MASK" ref="e70e687e9866ea4a61ed3594c97bf5ce" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_COOKIE_VERSION_MASK 3 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Cookie Version Mask <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="02bf89714a74397155a11b9ccb942b0d"></a><!-- doxytag: member="apreq.h::APREQ_DECLARE" ref="02bf89714a74397155a11b9ccb942b0d" args="(d)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_DECLARE </td>
<td>(</td>
<td class="paramtype">d </td>
<td class="paramname"> </td>
<td> ) </td>
<td> APR_DECLARE(d)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The public APREQ functions are declared with <a class="el" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE()</a>, so they may use the most appropriate calling convention. Public APR functions with variable arguments must use APR_DECLARE_NONSTD().<p>
<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Both the declaration and implementations must use the same macro. <a class="el" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE(rettype)</a> apeq_func(args) </dd></dl>
<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2home_2issac_2asf_2svn_2v2__13_2include_2apreq_8h-example.html#a15">/home/issac/asf/svn/v2_13/include/apreq.h</a>.</dl>
</div>
</div><p>
<a class="anchor" name="142563500999527d486a2eac8c3a0973"></a><!-- doxytag: member="apreq.h::APREQ_DECLARE_DATA" ref="142563500999527d486a2eac8c3a0973" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_DECLARE_DATA </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
The public APREQ variables are declared with APREQ_DECLARE_DATA. This assures the appropriate indirection is invoked at compile time. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#02bf89714a74397155a11b9ccb942b0d">APREQ_DECLARE</a> <p>
<a class="el" href="apreq_8h.html#8a1e7333187fdbc476473ac72d2ff38b">APREQ_DECLARE_NONSTD</a> </dd></dl>
<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>Note that the declaration and implementations use different forms, but both must include the macro. extern APREQ_DECLARE_DATA type apr_variable;<br>
APREQ_DECLARE_DATA type apr_variable = value; </dd></dl>
</div>
</div><p>
<a class="anchor" name="8a1e7333187fdbc476473ac72d2ff38b"></a><!-- doxytag: member="apreq.h::APREQ_DECLARE_NONSTD" ref="8a1e7333187fdbc476473ac72d2ff38b" args="(d)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_DECLARE_NONSTD </td>
<td>(</td>
<td class="paramtype">d </td>
<td class="paramname"> </td>
<td> ) </td>
<td> APR_DECLARE_NONSTD(d)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
APEQ_DECLARE_NONSTD(rettype) apr_func(args, ...);
</div>
</div><p>
<a class="anchor" name="f54c8645b8266fa7c9b2e261c608744f"></a><!-- doxytag: member="apreq.h::APREQ_DEFAULT_BRIGADE_LIMIT" ref="f54c8645b8266fa7c9b2e261c608744f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_DEFAULT_BRIGADE_LIMIT (256 * 1024) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Maximum number of bytes mod_apreq2 will let accumulate within the heap-buckets in a brigade. Excess data will be spooled to an appended file bucket <dl class="see" compact><dt><b>See also:</b></dt><dd>ap_set_brigade_read_limit </dd></dl>
</div>
</div><p>
<a class="anchor" name="253093cc2fffe7094828714ade120466"></a><!-- doxytag: member="apreq.h::APREQ_DEFAULT_NELTS" ref="253093cc2fffe7094828714ade120466" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_DEFAULT_NELTS 8 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Number of elements in the initial apr_table <dl class="see" compact><dt><b>See also:</b></dt><dd><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__tables.html#g7b0a16a1388c68e66bff32190cf092f6">apr_table_make</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="73bfd1896ab59181f8e052fb8cc147cd"></a><!-- doxytag: member="apreq.h::APREQ_DEFAULT_READ_BLOCK_SIZE" ref="73bfd1896ab59181f8e052fb8cc147cd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_DEFAULT_READ_BLOCK_SIZE (64 * 1024) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Read chucks of data in 64k blocks from the request
</div>
</div><p>
<a class="anchor" name="744fa55285c4a3868a9154f473d58ac4"></a><!-- doxytag: member="apreq.h::APREQ_DEFAULT_READ_LIMIT" ref="744fa55285c4a3868a9154f473d58ac4" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_DEFAULT_READ_LIMIT (64 * 1024 * 1024) </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Maximum number of bytes mod_apreq2 will send off to libapreq2 for parsing. mod_apreq2 will log this event and subsequently remove itself from the filter chain. <dl class="see" compact><dt><b>See also:</b></dt><dd>ap_set_read_limit </dd></dl>
</div>
</div><p>
<a class="anchor" name="07141b4d0c7daa6d5aba5ff33d52a31f"></a><!-- doxytag: member="apreq.h::APREQ_FLAGS_GET" ref="07141b4d0c7daa6d5aba5ff33d52a31f" args="(f, name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_FLAGS_GET </td>
<td>(</td>
<td class="paramtype">f, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">name </td>
<td class="paramname"> </td>
<td> ) </td>
<td> (((f) >> name##_BIT) & name##_MASK)</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get specified bit f in bitfield name
</div>
</div><p>
<a class="anchor" name="5bcc4e81747b13b7bfbb946648453f9e"></a><!-- doxytag: member="apreq.h::APREQ_FLAGS_OFF" ref="5bcc4e81747b13b7bfbb946648453f9e" args="(f, name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_FLAGS_OFF </td>
<td>(</td>
<td class="paramtype">f, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">name </td>
<td class="paramname"> </td>
<td> ) </td>
<td> ((f) &= ~(name##_MASK << name##_BIT))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Check to see if specified bit f is off in bitfield name
</div>
</div><p>
<a class="anchor" name="df8584e758a62fe0a79023821c359222"></a><!-- doxytag: member="apreq.h::APREQ_FLAGS_ON" ref="df8584e758a62fe0a79023821c359222" args="(f, name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_FLAGS_ON </td>
<td>(</td>
<td class="paramtype">f, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">name </td>
<td class="paramname"> </td>
<td> ) </td>
<td> ((f) |= (name##_MASK << name##_BIT))</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Check to see if specified bit f is on in bitfield name
</div>
</div><p>
<a class="anchor" name="817a3e293b1ae4210ee68871d6b67e1f"></a><!-- doxytag: member="apreq.h::APREQ_FLAGS_SET" ref="817a3e293b1ae4210ee68871d6b67e1f" args="(f, name, value)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_FLAGS_SET </td>
<td>(</td>
<td class="paramtype">f, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">name, <tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">value </td>
<td class="paramname"> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<b>Value:</b><div class="fragment"><pre class="fragment">((f) = (((f) & ~(name##_MASK << name##_BIT)) \
| ((name##_MASK & (value)) << name##_BIT)))
</pre></div>Set specified bit f in bitfield name to value Note the below BIT/Mask defines are used sans the _BIT, _MASK because of the this define's ##_MASK, ##_BIT usage. Each come in a pair
</div>
</div><p>
<a class="anchor" name="cecc7cc6c676725990e0be5f14179ca7"></a><!-- doxytag: member="apreq.h::APREQ_TAINTED_BIT" ref="cecc7cc6c676725990e0be5f14179ca7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_TAINTED_BIT 8 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Tainted Bit <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<a class="anchor" name="3b151396d29841edc92a2889a38fda79"></a><!-- doxytag: member="apreq.h::APREQ_TAINTED_MASK" ref="3b151396d29841edc92a2889a38fda79" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define APREQ_TAINTED_MASK 1 </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Tainted Mask <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="apreq_8h.html#5bcc4e81747b13b7bfbb946648453f9e">APREQ_FLAGS_OFF</a> <p>
<a class="el" href="apreq_8h.html#df8584e758a62fe0a79023821c359222">APREQ_FLAGS_ON</a> <p>
<a class="el" href="apreq_8h.html#07141b4d0c7daa6d5aba5ff33d52a31f">APREQ_FLAGS_GET</a> <p>
<a class="el" href="apreq_8h.html#817a3e293b1ae4210ee68871d6b67e1f">APREQ_FLAGS_SET</a> </dd></dl>
</div>
</div><p>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="6607dfa756796989c15014870b48c8cd"></a><!-- doxytag: member="apreq.h::apreq_charset_t" ref="6607dfa756796989c15014870b48c8cd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="apreq_8h.html#6607dfa756796989c15014870b48c8cd">apreq_charset_t</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Character encodings.
</div>
</div><p>
<a class="anchor" name="eb51f7cb925e3218c622ff82b8ee2f70"></a><!-- doxytag: member="apreq.h::apreq_expires_t" ref="eb51f7cb925e3218c622ff82b8ee2f70" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="apreq_8h.html#eb51f7cb925e3218c622ff82b8ee2f70">apreq_expires_t</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Expiration date format <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="eb51f7cb925e3218c622ff82b8ee2f70d0fecca3f99d74b155630437504119f5"></a><!-- doxytag: member="APREQ_EXPIRES_HTTP" ref="eb51f7cb925e3218c622ff82b8ee2f70d0fecca3f99d74b155630437504119f5" args="" -->APREQ_EXPIRES_HTTP</em> </td><td>
Use date formatting consistent with RFC 2616 </td></tr>
<tr><td valign="top"><em><a class="anchor" name="eb51f7cb925e3218c622ff82b8ee2f70a7e0989ec9839a8494ea328ff30eb5a1"></a><!-- doxytag: member="APREQ_EXPIRES_NSCOOKIE" ref="eb51f7cb925e3218c622ff82b8ee2f70a7e0989ec9839a8494ea328ff30eb5a1" args="" -->APREQ_EXPIRES_NSCOOKIE</em> </td><td>
Use format consistent with Netscape's Cookie Spec </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="c3784c04255e92629350505d35b0473e"></a><!-- doxytag: member="apreq.h::apreq_join_t" ref="c3784c04255e92629350505d35b0473e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="apreq_8h.html#c3784c04255e92629350505d35b0473e">apreq_join_t</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Join type <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="c3784c04255e92629350505d35b0473e9b74c73cbfdf7aad3effc0627018ff08"></a><!-- doxytag: member="APREQ_JOIN_AS_IS" ref="c3784c04255e92629350505d35b0473e9b74c73cbfdf7aad3effc0627018ff08" args="" -->APREQ_JOIN_AS_IS</em> </td><td>
Join the strings without modification </td></tr>
<tr><td valign="top"><em><a class="anchor" name="c3784c04255e92629350505d35b0473e6cc82b38c229380cc7fbb274b7e3cf36"></a><!-- doxytag: member="APREQ_JOIN_ENCODE" ref="c3784c04255e92629350505d35b0473e6cc82b38c229380cc7fbb274b7e3cf36" args="" -->APREQ_JOIN_ENCODE</em> </td><td>
Url-encode the strings before joining them </td></tr>
<tr><td valign="top"><em><a class="anchor" name="c3784c04255e92629350505d35b0473e9dd8468f9547f1dee0709f906e98cdc6"></a><!-- doxytag: member="APREQ_JOIN_DECODE" ref="c3784c04255e92629350505d35b0473e9dd8468f9547f1dee0709f906e98cdc6" args="" -->APREQ_JOIN_DECODE</em> </td><td>
Url-decode the strings before joining them </td></tr>
<tr><td valign="top"><em><a class="anchor" name="c3784c04255e92629350505d35b0473eb22a5a8f345963488381335b2f909fb9"></a><!-- doxytag: member="APREQ_JOIN_QUOTE" ref="c3784c04255e92629350505d35b0473eb22a5a8f345963488381335b2f909fb9" args="" -->APREQ_JOIN_QUOTE</em> </td><td>
Quote the strings, backslashing existing quote marks. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="590d7bfd9cd294f652d388c4f37fc8d5"></a><!-- doxytag: member="apreq.h::apreq_match_t" ref="590d7bfd9cd294f652d388c4f37fc8d5" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="apreq_8h.html#590d7bfd9cd294f652d388c4f37fc8d5">apreq_match_t</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Match type <dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="590d7bfd9cd294f652d388c4f37fc8d56ff614170217cfafb5c32c1cefd6caba"></a><!-- doxytag: member="APREQ_MATCH_FULL" ref="590d7bfd9cd294f652d388c4f37fc8d56ff614170217cfafb5c32c1cefd6caba" args="" -->APREQ_MATCH_FULL</em> </td><td>
Full match only. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="590d7bfd9cd294f652d388c4f37fc8d52fbd9432fdb0e8bec90bd9ec76dcb3f9"></a><!-- doxytag: member="APREQ_MATCH_PARTIAL" ref="590d7bfd9cd294f652d388c4f37fc8d52fbd9432fdb0e8bec90bd9ec76dcb3f9" args="" -->APREQ_MATCH_PARTIAL</em> </td><td>
Partial matches are ok. </td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="163e7aaee57baa89b4d7e00a4279b035"></a><!-- doxytag: member="apreq.h::apreq_initialize" ref="163e7aaee57baa89b4d7e00a4279b035" args="(apr_pool_t *pool)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><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> apreq_initialize </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__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> * </td>
<td class="paramname"> <em>pool</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Initialize libapreq2. Applications (except apache modules using mod_apreq) should call this exactly once before they use any libapreq2 modules. If you want to modify the list of default parsers with <a class="el" href="apreq__parser_8h.html#595f05be3d241a5b339fd6ef948bfbc8">apreq_register_parser()</a>, please use <a class="el" href="apreq_8h.html#ff013107e72c94b917617fd42dce79e8">apreq_pre_initialize()</a> and <a class="el" href="apreq_8h.html#cecad02f3b9982190143d1097bbfa555">apreq_post_initialize()</a> instead.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pool</em> </td><td>a base pool persisting while libapreq2 is used </td></tr>
</table>
</dl>
<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>after you detroy the pool, you have to call this function again with a new pool if you still plan to use libapreq2 </dd></dl>
<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2home_2issac_2asf_2svn_2v2__13_2include_2apreq_8h-example.html#a16">/home/issac/asf/svn/v2_13/include/apreq.h</a>.</dl>
</div>
</div><p>
<a class="anchor" name="cecad02f3b9982190143d1097bbfa555"></a><!-- doxytag: member="apreq.h::apreq_post_initialize" ref="cecad02f3b9982190143d1097bbfa555" args="(apr_pool_t *pool)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><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> apreq_post_initialize </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__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> * </td>
<td class="paramname"> <em>pool</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Post-initialize libapreq2. Applications (except apache modules using mod_apreq2) should this exactly once before they use any libapreq2 modules for parsing.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pool</em> </td><td>the same pool that was used in <a class="el" href="apreq_8h.html#ff013107e72c94b917617fd42dce79e8">apreq_pre_initialize()</a>. </td></tr>
</table>
</dl>
<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2home_2issac_2asf_2svn_2v2__13_2include_2apreq_8h-example.html#a18">/home/issac/asf/svn/v2_13/include/apreq.h</a>.</dl>
</div>
</div><p>
<a class="anchor" name="ff013107e72c94b917617fd42dce79e8"></a><!-- doxytag: member="apreq.h::apreq_pre_initialize" ref="ff013107e72c94b917617fd42dce79e8" args="(apr_pool_t *pool)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><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> apreq_pre_initialize </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__pools.html#gf137f28edcf9a086cd6bc36c20d7cdfb">apr_pool_t</a> * </td>
<td class="paramname"> <em>pool</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Pre-initialize libapreq2. Applications (except apache modules using mod_apreq2) should call this exactly once before they register custom parsers with libapreq2. mod_apreq2 does this automatically during the post-config phase, so modules that need call apreq_register_parser should create a post-config hook using APR_HOOK_MIDDLE.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pool</em> </td><td>a base pool persisting while libapreq2 is used </td></tr>
</table>
</dl>
<dl class="remark" compact><dt><b>Remarks:</b></dt><dd>after you detroyed the pool, you have to call this function again with a new pool if you still plan to use libapreq2 </dd></dl>
<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2home_2issac_2asf_2svn_2v2__13_2include_2apreq_8h-example.html#a17">/home/issac/asf/svn/v2_13/include/apreq.h</a>.</dl>
</div>
</div><p>
<a class="anchor" name="0d27c51db1532fa3f829838ed90f6226"></a><!-- doxytag: member="apreq.h::apreq_value_table_add" ref="0d27c51db1532fa3f829838ed90f6226" args="(const apreq_value_t *v, apr_table_t *t)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static APR_INLINE void apreq_value_table_add </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structapreq__value__t.html">apreq_value_t</a> * </td>
<td class="paramname"> <em>v</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__tables.html#gd7ea82d6608a4a633fc3775694ab71e4">apr_table_t</a> * </td>
<td class="paramname"> <em>t</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Adds the specified <a class="el" href="structapreq__value__t.html" title="libapreq's pre-extensible string type">apreq_value_t</a> to the apr_table_t.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>v</em> </td><td>value to add </td></tr>
<tr><td valign="top"></td><td valign="top"><em>t</em> </td><td>add v to this table</td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>void</dd></dl>
@ see apr_table_t <dl class="see" compact><dt><b>See also:</b></dt><dd>apr_value_t </dd></dl>
<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="_2home_2issac_2asf_2svn_2v2__13_2include_2apreq_8h-example.html#a13">/home/issac/asf/svn/v2_13/include/apreq.h</a>.</dl>
</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>
|