Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 61372 invoked from network); 4 May 2005 19:30:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2005 19:30:35 -0000 Received: (qmail 63184 invoked by uid 500); 4 May 2005 19:30:05 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 62664 invoked by uid 500); 4 May 2005 19:29:46 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 62463 invoked by uid 99); 4 May 2005 19:29:43 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 04 May 2005 12:29:41 -0700 Received: (qmail 96510 invoked by uid 65534); 4 May 2005 17:40:40 -0000 Message-ID: <20050504174040.96509.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r168155 [15/27] - in /httpd/site/trunk: docs/apreq/docs/libapreq2/ xdocs/apreq/docs/libapreq2/ Date: Wed, 04 May 2005 17:40:16 -0000 To: cvs@httpd.apache.org From: joes@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Modified: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapr= eq2/apreq_8h.html?rev=3D168155&r1=3D168154&r2=3D168155&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h.html (original) +++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h.html Wed May 4 10= :40:10 2005 @@ -1,7 +1,7 @@ - libapreq2-2.04-dev: libapreq2: src/apreq.h File Reference=20 + libapreq2-2.05-dev: libapreq2: include/apreq.h File Reference</ti= tle>=20 </head> <body> <div id=3D"page-header"> @@ -10,200 +10,134 @@ <a href=3D"http://httpd.apache.org/apreq/">Request Library Subproject</a><= /p> <p class=3D"apache">Apache HTTP Server Request Library</p> <img alt=3D"" src=3D"feather.gif" /></div> -<!-- Generated by Doxygen 1.3.8 --> -<div class=3D"qindex"><a class=3D"qindex" href=3D"index.html">Main Pa= ge</a> | <a class=3D"qindex" href=3D"modules.html">Modules</a> | <a class= =3D"qindex" href=3D"annotated.html">Data Structures</a> | <a class=3D"= qindex" href=3D"files.html">File List</a> | <a class=3D"qindex" href= =3D"functions.html">Data Fields</a> | <a class=3D"qindex" href=3D"glob= als.html">Globals</a> | <a class=3D"qindex" href=3D"pages.html">Related&nbs= p;Pages</a></div> -<h1>src/apreq.h File Reference</h1>Common functions, structures and macros= . <a href=3D"#_details">More...</a> +<!-- Generated by Doxygen 1.4.2 --> +<div class=3D"qindex"><a class=3D"qindex" href=3D"index.html">Main Pa= ge</a> | <a class=3D"qindex" href=3D"modules.html">Modules</a> | <a class= =3D"qindex" href=3D"annotated.html">Data Structures</a> | <a class=3D"= qindex" href=3D"dirs.html">Directories</a> | <a class=3D"qindex" href=3D"fi= les.html">File List</a> | <a class=3D"qindex" href=3D"functions.html">= Data Fields</a> | <a class=3D"qindex" href=3D"globals.html">Globals</a= > | <a class=3D"qindex" href=3D"pages.html">Related Pages</a></div> +<div class=3D"nav"> +<a class=3D"el" href=3D"dir_000000.html">include</a></div> +<h1>apreq.h File Reference</h1>Main header file... <a href=3D"#_details">M= ore...</a> <p> <code>#include "<a class=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.or= g/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr__tables_8h.html">ap= r_tables.h</a>"</code><br> -<code>#include "<a class=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.or= g/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr__file__io_8h.html">= apr_file_io.h</a>"</code><br> -<code>#include "<a class=3D"elRef" doxygen=3D"apu.tag:http://apr.apache.or= g/docs/apr-util/" href=3D"http://apr.apache.org/docs/apr-util/apr__buckets_= 8h.html">apr_buckets.h</a>"</code><br> <code>#include <stddef.h></code><br> =20 <p> -<a href=3D"apreq_8h-source.html">Go to the source code of this file.</a><t= able border=3D0 cellpadding=3D0 cellspacing=3D0> +<a href=3D"apreq_8h-source.html">Go to the source code of this file.</a><t= able border=3D"0" cellpadding=3D"0" cellspacing=3D"0"> <tr><td></td></tr> -<tr><td colspan=3D2><br><h2>Data Structures</h2></td></tr> -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>struct &nb= sp;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"= structapreq__value__t.html">apreq_value_t</a></td></tr> +<tr><td colspan=3D"2"><br><h2>Defines</h2></td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a0" doxytag=3D"apreq.h::APREQ_DECLARE"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_DE= CLARE</b>(d)   <a class=3D"elRef" doxygen=3D"apr.tag:http://= apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/group__apr= __platform.html#ga122">APR_DECLARE</a>(d)</td></tr> =20 -<tr><td class=3D"mdescLeft"> </td><td class=3D"mdescRight">libapreq's= pre-extensible string type <a href=3D"structapreq__value__t.html#_details= ">More...</a><br></td></tr> -<tr><td colspan=3D2><br><h2>Defines</h2></td></tr> -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a0" doxytag=3D"apreq.h::APREQ_DECLARE" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>APREQ_DECL= ARE</b>(d)   <a class=3D"elRef" doxygen=3D"apr.tag:http://ap= r=2Eapache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8h.htm= l#ga122">APR_DECLARE</a>(d)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a1" doxytag=3D"apreq.h::APREQ_DECLARE_NONSTD"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_DE= CLARE_NONSTD</b>(d)   <a class=3D"elRef" doxygen=3D"apr.tag:= http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/gro= up__apr__platform.html#ga123">APR_DECLARE_NONSTD</a>(d)</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a1" doxytag=3D"apreq.h::APREQ_DECLARE_NONSTD" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>APREQ_DECL= ARE_NONSTD</b>(d)   <a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8= h=2Ehtml#ga123">APR_DECLARE_NONSTD</a>(d)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a2" doxytag=3D"apreq.h::APREQ_DECLARE_DATA"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_DE= CLARE_DATA</b></td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a2" doxytag=3D"apreq.h::APREQ_DECLARE_DATA" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>APREQ_DECL= ARE_DATA</b></td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a3" doxytag=3D"apreq.h::APREQ_DEFAULT_READ_BLOCK_SIZE= "></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_DE= FAULT_READ_BLOCK_SIZE</b>   (64 * 1024)</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a3" doxytag=3D"apreq.h::APREQ_URL_ENCTYPE" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>APREQ_URL_= ENCTYPE</b>   "application/x-www-form-urlencoded"</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a4" doxytag=3D"apreq.h::APREQ_DEFAULT_READ_LIMIT"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_DE= FAULT_READ_LIMIT</b>   (64 * 1024 * 1024)</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a4" doxytag=3D"apreq.h::APREQ_MFD_ENCTYPE" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>APREQ_MFD_= ENCTYPE</b>   "multipart/form-data"</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a5" doxytag=3D"apreq.h::APREQ_DEFAULT_BRIGADE_LIMIT">= </a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_DE= FAULT_BRIGADE_LIMIT</b>   (256 * 1024)</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a5" doxytag=3D"apreq.h::APREQ_XML_ENCTYPE" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>APREQ_XML_= ENCTYPE</b>   "application/xml"</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a6" doxytag=3D"apreq.h::APREQ_DEFAULT_NELTS"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_DE= FAULT_NELTS</b>   8</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a6" doxytag=3D"apreq.h::APREQ_NELTS" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>APREQ_NELT= S</b>   8</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a7" doxytag=3D"apreq.h::APREQ_FLAGS_OFF"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_FL= AGS_OFF</b>(f, name)   ((f) &=3D ~(name##_MASK << = name##_BIT))</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a7" doxytag=3D"apreq.h::APREQ_READ_AHEAD" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>APREQ_READ= _AHEAD</b>   (64 * 1024)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a8" doxytag=3D"apreq.h::APREQ_FLAGS_ON"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_FL= AGS_ON</b>(f, name)   ((f) |=3D (name##_MASK << name#= #_BIT))</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>#define&nb= sp;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"= apreq_8h.html#a8">APREQ_MAX_BRIGADE_LEN</a>   (256 * 1024)</= td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a9" doxytag=3D"apreq.h::APREQ_FLAGS_GET"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_FL= AGS_GET</b>(f, name)   (((f) >> name##_BIT) & name= ##_MASK)</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a9" doxytag=3D"apreq.h::apreq_attr_to_type" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>apreq_attr= _to_type</b>(T, A, P)   ( (T*) ((char*)(P)-offsetof(T,A)) )<= /td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top">#defin= e </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_FLAGS_SET= </b>(f, name, value)</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>#define&nb= sp;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"= apreq_8h.html#a10">apreq_char_to_value</a>(ptr)   apreq_attr= _to_type(<a class=3D"el" href=3D"structapreq__value__t.html">apreq_value_t<= /a>, data, ptr)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a11" doxytag=3D"apreq.h::APREQ_CHARSET_BIT"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_CH= ARSET_BIT</b>   0</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a11" doxytag=3D"apreq.h::apreq_strtoval" ></a> -#define </td><td class=3D"memItemRight" valign=3Dbottom><b>apreq_strt= oval</b>(ptr)   apreq_char_to_value(ptr)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a12" doxytag=3D"apreq.h::APREQ_CHARSET_MASK"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_CH= ARSET_MASK</b>   255</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>#define&nb= sp;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"= apreq_8h.html#a12">apreq_strlen</a>(ptr)   (apreq_strtoval(p= tr)->size)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a13" doxytag=3D"apreq.h::APREQ_TAINTED_BIT"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_TA= INTED_BIT</b>   8</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>#define&nb= sp;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"= apreq_8h.html#a13">APREQ_BRIGADE_SETASIDE</a>(bb, p)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a14" doxytag=3D"apreq.h::APREQ_TAINTED_MASK"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_TA= INTED_MASK</b>   1</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>#define&nb= sp;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"= apreq_8h.html#a14">APREQ_BRIGADE_COPY</a>(d, s)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a15" doxytag=3D"apreq.h::APREQ_COOKIE_VERSION_BIT"></= a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_CO= OKIE_VERSION_BIT</b>   11</td></tr> =20 -<tr><td colspan=3D2><br><h2>Typedefs</h2></td></tr> -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a15" doxytag=3D"apreq.h::apreq_value_t" ></a> -typedef <a class=3D"el" href=3D"structapreq__value__t.html">apreq_value_t<= /a> </td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" hr= ef=3D"apreq_8h.html#a15">apreq_value_t</a></td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a16" doxytag=3D"apreq.h::APREQ_COOKIE_VERSION_MASK"><= /a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_CO= OKIE_VERSION_MASK</b>   3</td></tr> =20 -<tr><td class=3D"mdescLeft"> </td><td class=3D"mdescRight">libapreq's= pre-extensible string type <br></td></tr> -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a16" doxytag=3D"apreq.h::apreq_value_merge_t" ></a> -typedef <a class=3D"el" href=3D"structapreq__value__t.html">apreq_value_t<= /a> *( </td><td class=3D"memItemRight" valign=3Dbottom><b>apreq_value_= merge_t</b> )(<a class=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/d= ocs/apr/" href=3D"http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">ap= r_pool_t</a> *p, const <a class=3D"elRef" doxygen=3D"apr.tag:http://apr.apa= che.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/structapr__array_= _header__t.html">apr_array_header_t</a> *a)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a17" doxytag=3D"apreq.h::APREQ_COOKIE_SECURE_BIT"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_CO= OKIE_SECURE_BIT</b>   13</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"anchor" name=3D"a17" doxytag=3D"apreq.h::apreq_value_copy_t" ></a> -typedef <a class=3D"el" href=3D"structapreq__value__t.html">apreq_value_t<= /a> *( </td><td class=3D"memItemRight" valign=3Dbottom><b>apreq_value_= copy_t</b> )(<a class=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/do= cs/apr/" href=3D"http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr= _pool_t</a> *p, const <a class=3D"el" href=3D"structapreq__value__t.html">a= preq_value_t</a> *v)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a18" doxytag=3D"apreq.h::APREQ_COOKIE_SECURE_MASK"></= a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>APREQ_CO= OKIE_SECURE_MASK</b>   1</td></tr> =20 -<tr><td colspan=3D2><br><h2>Enumerations</h2></td></tr> -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>enum  = ;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"ap= req_8h.html#a47">apreq_join_t</a> { <a class=3D"el" href=3D"apreq_8h.html#a= 47a18">APREQ_JOIN_AS_IS</a>,=20 -<a class=3D"el" href=3D"apreq_8h.html#a47a19">APREQ_JOIN_ENCODE</a>,=20 -<a class=3D"el" href=3D"apreq_8h.html#a47a20">APREQ_JOIN_DECODE</a>,=20 -<a class=3D"el" href=3D"apreq_8h.html#a47a21">APREQ_JOIN_QUOTE</a> - }</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a19" doxytag=3D"apreq.h::apreq_attr_to_type"></a> +#define </td><td class=3D"memItemRight" valign=3D"bottom"><b>apreq_at= tr_to_type</b>(T, A, P)   ( (T*) ((char*)(P)-offsetof(T,A)) = )</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>enum  = ;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"ap= req_8h.html#a48">apreq_match_t</a> { <a class=3D"el" href=3D"apreq_8h.html#= a48a22">APREQ_MATCH_FULL</a>,=20 -<a class=3D"el" href=3D"apreq_8h.html#a48a23">APREQ_MATCH_PARTIAL</a> - }</td></tr> +<tr><td colspan=3D"2"><br><h2>Typedefs</h2></td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a20" doxytag=3D"apreq.h::apreq_value_t"></a> +typedef <a class=3D"el" href=3D"structapreq__value__t.html">apreq_value_t<= /a> </td><td class=3D"memItemRight" valign=3D"bottom"><a class=3D"el" = href=3D"apreq_8h.html#a20">apreq_value_t</a></td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>enum  = ;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"ap= req_8h.html#a49">apreq_expires_t</a> { <a class=3D"el" href=3D"apreq_8h.htm= l#a49a24">APREQ_EXPIRES_HTTP</a>,=20 -<a class=3D"el" href=3D"apreq_8h.html#a49a25">APREQ_EXPIRES_NSCOOKIE</a> +<tr><td class=3D"mdescLeft"> </td><td class=3D"mdescRight">libapreq's= pre-extensible string type <br></td></tr> +<tr><td colspan=3D"2"><br><h2>Enumerations</h2></td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top">enum &= nbsp;</td><td class=3D"memItemRight" valign=3D"bottom"><a class=3D"el" href= =3D"apreq_8h.html#a37">apreq_charset_t</a> { <b>APREQ_CHARSET_ASCII</b> =3D= 0,=20 +<b>APREQ_CHARSET_LATIN1</b> =3D 1,=20 +<b>APREQ_CHARSET_CP1252</b> =3D 2,=20 +<b>APREQ_CHARSET_UTF8</b> =3D 8 }</td></tr> =20 -<tr><td colspan=3D2><br><h2>Functions</h2></td></tr> -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"el" href=3D"structapreq__value__t.html">apreq_value_t</a> * </td><= td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.= html#a26">apreq_make_value</a> (<a class=3D"elRef" doxygen=3D"apr.tag:http:= //apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr__poo= ls_8h.html#ga0">apr_pool_t</a> *p, const char *name, const <a class=3D"elRe= f" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.a= pache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> nlen, const char *val, c= onst <a class=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/"= href=3D"http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> vle= n)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"el" href=3D"structapreq__value__t.html">apreq_value_t</a> * </td><= td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.= html#a27">apreq_copy_value</a> (<a class=3D"elRef" doxygen=3D"apr.tag:http:= //apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr__poo= ls_8h.html#ga0">apr_pool_t</a> *p, const <a class=3D"el" href=3D"structapre= q__value__t.html">apreq_value_t</a> *val)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"el" href=3D"structapreq__value__t.html">apreq_value_t</a> * </td><= td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.= html#a28">apreq_merge_values</a> (<a class=3D"elRef" doxygen=3D"apr.tag:htt= p://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr__p= ools_8h.html#ga0">apr_pool_t</a> *p, const <a class=3D"elRef" doxygen=3D"ap= r=2Etag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs= /apr/structapr__array__header__t.html">apr_array_header_t</a> *arr)</td></t= r> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>const char= * </td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" hre= f=3D"apreq_8h.html#a29">apreq_enctype</a> (void *env)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>const char= * </td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" hre= f=3D"apreq_8h.html#a30">apreq_join</a> (<a class=3D"elRef" doxygen=3D"apr.t= ag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/= apr__pools_8h.html#ga0">apr_pool_t</a> *p, const char *sep, const <a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/structapr__array__header__t.html">apr_array_head= er_t</a> *arr, <a class=3D"el" href=3D"apreq_8h.html#a47">apreq_join_t</a> = mode)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>char *&nbs= p;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"a= preq_8h.html#a31">apreq_memmem</a> (char *hay, <a class=3D"elRef" doxygen= =3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/= docs/apr/apr_8h.html#ga7">apr_size_t</a> hlen, const char *ndl, <a class=3D= "elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://= apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> nlen, const <a clas= s=3D"el" href=3D"apreq_8h.html#a48">apreq_match_t</a> type)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr_8h.html#ga8">apr_ssize_t</a> </td><td c= lass=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.html= #a32">apreq_index</a> (const char *hay, <a class=3D"elRef" doxygen=3D"apr.t= ag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/= apr_8h.html#ga7">apr_size_t</a> hlen, const char *ndl, <a class=3D"elRef" d= oxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apach= e=2Eorg/docs/apr/apr_8h.html#ga7">apr_size_t</a> nlen, const <a class=3D"el= " href=3D"apreq_8h.html#a48">apreq_match_t</a> type)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> </td><td cl= ass=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.html#= a33">apreq_quote</a> (char *dest, const char *src, const <a class=3D"elRef"= doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apa= che.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> </td><td cl= ass=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.html#= a34">apreq_quote_once</a> (char *dest, const char *src, const <a class=3D"e= lRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://ap= r=2Eapache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> </td><td cl= ass=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.html#= a35">apreq_encode</a> (char *dest, const char *src, const <a class=3D"elRef= " doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.ap= ache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr_8h.html#ga8">apr_ssize_t</a> </td><td c= lass=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.html= #a36">apreq_decode</a> (char *dest, const char *src, <a class=3D"elRef" dox= ygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.= org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a> </= td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq= _8h.html#a37">apreq_decodev</a> (char *d, <a class=3D"elRef" doxygen=3D"apr= .tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/ap= r/apr_8h.html#ga7">apr_size_t</a> *dlen, struct iovec *v, int nelts)</td></= tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>char *&nbs= p;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"a= preq_8h.html#a38">apreq_escape</a> (<a class=3D"elRef" doxygen=3D"apr.tag:h= ttp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_= _pools_8h.html#ga0">apr_pool_t</a> *p, const char *src, const <a class=3D"e= lRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://ap= r=2Eapache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr_8h.html#ga8">apr_ssize_t</a> </td><td c= lass=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.html= #a39">apreq_unescape</a> (char *str)</td></tr> - -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop>char *&nbs= p;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"a= preq_8h.html#a40">apreq_expires</a> (<a class=3D"elRef" doxygen=3D"apr.tag:= http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr= __pools_8h.html#ga0">apr_pool_t</a> *p, const char *time_str, const <a clas= s=3D"el" href=3D"apreq_8h.html#a49">apreq_expires_t</a> type)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top">enum &= nbsp;</td><td class=3D"memItemRight" valign=3D"bottom"><a class=3D"el" href= =3D"apreq_8h.html#a38">apreq_join_t</a> { <a class=3D"el" href=3D"apreq_8h.= html#a38a25">APREQ_JOIN_AS_IS</a>,=20 +<a class=3D"el" href=3D"apreq_8h.html#a38a26">APREQ_JOIN_ENCODE</a>,=20 +<a class=3D"el" href=3D"apreq_8h.html#a38a27">APREQ_JOIN_DECODE</a>,=20 +<a class=3D"el" href=3D"apreq_8h.html#a38a28">APREQ_JOIN_QUOTE</a> + }</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr_8h.html#ga5">apr_int64_t</a> </td><td c= lass=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.html= #a41">apreq_atoi64f</a> (const char *s)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top">enum &= nbsp;</td><td class=3D"memItemRight" valign=3D"bottom"><a class=3D"el" href= =3D"apreq_8h.html#a39">apreq_match_t</a> { <a class=3D"el" href=3D"apreq_8h= .html#a39a29">APREQ_MATCH_FULL</a>,=20 +<a class=3D"el" href=3D"apreq_8h.html#a39a30">APREQ_MATCH_PARTIAL</a> + }</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr_8h.html#ga5">apr_int64_t</a> </td><td c= lass=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq_8h.html= #a42">apreq_atoi64t</a> (const char *s)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top">enum &= nbsp;</td><td class=3D"memItemRight" valign=3D"bottom"><a class=3D"el" href= =3D"apreq_8h.html#a40">apreq_expires_t</a> { <a class=3D"el" href=3D"apreq_= 8h.html#a40a31">APREQ_EXPIRES_HTTP</a>,=20 +<a class=3D"el" href=3D"apreq_8h.html#a40a32">APREQ_EXPIRES_NSCOOKIE</a> + }</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a> </= td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq= _8h.html#a43">apreq_brigade_fwrite</a> (<a class=3D"elRef" doxygen=3D"apr.t= ag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/= apr__file__io_8h.html#ga2">apr_file_t</a> *f, <a class=3D"elRef" doxygen=3D= "apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/doc= s/apr/apr_8h.html#ga9">apr_off_t</a> *wlen, <a class=3D"elRef" doxygen=3D"a= pu.tag:http://apr.apache.org/docs/apr-util/" href=3D"http://apr.apache.org/= docs/apr-util/structapr__bucket__brigade.html">apr_bucket_brigade</a> *bb)<= /td></tr> +<tr><td colspan=3D"2"><br><h2>Functions</h2></td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"anchor" name=3D"a33" doxytag=3D"apreq.h::apreq_value_table_add"></a> +static <a class=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/ap= r/" href=3D"http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">= APR_INLINE</a> void </td><td class=3D"memItemRight" valign=3D"bottom">= <b>apreq_value_table_add</b> (const <a class=3D"el" href=3D"structapreq__va= lue__t.html">apreq_value_t</a> *v, <a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/group= __apr__tables.html#gga0">apr_table_t</a> *t)</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a> </= td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq= _8h.html#a44">apreq_file_mktemp</a> (<a class=3D"elRef" doxygen=3D"apr.tag:= http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr= __file__io_8h.html#ga2">apr_file_t</a> **fp, <a class=3D"elRef" doxygen=3D"= apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs= /apr/apr__pools_8h.html#ga0">apr_pool_t</a> *pool, const char *path)</td></= tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"ht= tp://apr.apache.org/docs/apr/group__apr__errno.html#gga0">apr_status_t</a>&= nbsp;</td><td class=3D"memItemRight" valign=3D"bottom"><a class=3D"el" href= =3D"apreq_8h.html#a34">apreq_initialize</a> (<a class=3D"elRef" doxygen=3D"= apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs= /apr/group__apr__pools.html#gga0">apr_pool_t</a> *pool)</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr__file__io_8h.html#ga2">apr_file_t</a> * = ;</td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"ap= req_8h.html#a45">apreq_brigade_spoolfile</a> (<a class=3D"elRef" doxygen=3D= "apu.tag:http://apr.apache.org/docs/apr-util/" href=3D"http://apr.apache.or= g/docs/apr-util/structapr__bucket__brigade.html">apr_bucket_brigade</a> *bb= )</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"ht= tp://apr.apache.org/docs/apr/group__apr__errno.html#gga0">apr_status_t</a>&= nbsp;</td><td class=3D"memItemRight" valign=3D"bottom"><a class=3D"el" href= =3D"apreq_8h.html#a35">apreq_pre_initialize</a> (<a class=3D"elRef" doxygen= =3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/= docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> *pool)</td></tr> =20 -<tr><td class=3D"memItemLeft" nowrap align=3Dright valign=3Dtop><a class= =3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http= ://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a> </= td><td class=3D"memItemRight" valign=3Dbottom><a class=3D"el" href=3D"apreq= _8h.html#a46">apreq_header_attribute</a> (const char *hdr, const char *name= , const <a class=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/ap= r/" href=3D"http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> = nlen, const char **val, <a class=3D"elRef" doxygen=3D"apr.tag:http://apr.ap= ache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8h.html#ga7"= >apr_size_t</a> *vlen)</td></tr> +<tr><td class=3D"memItemLeft" nowrap align=3D"right" valign=3D"top"><a cla= ss=3D"elRef" doxygen=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"ht= tp://apr.apache.org/docs/apr/group__apr__errno.html#gga0">apr_status_t</a>&= nbsp;</td><td class=3D"memItemRight" valign=3D"bottom"><a class=3D"el" href= =3D"apreq_8h.html#a36">apreq_post_initialize</a> (<a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> *pool)</td></tr> =20 </table> <hr><a name=3D"_details"></a><h2>Detailed Description</h2> -Common functions, structures and macros.=20 +Main header file...=20 <p> -The objects in <a class=3D"el" href=3D"apreq_8h.html">apreq.h</a> are used= in various contexts:<p> -<ul> -<li><a class=3D"el" href=3D"structapreq__value__t.html">apreq_value_t</a> = - the base struct for params & cookies</li><li>string <-> array c= onverters</li><li>substring search functions</li><li>simple encoders & = decoders for urlencoded strings</li><li>simple time, date, & file-size = converters</li></ul> -<hr><h2>Define Documentation</h2> -<a class=3D"anchor" name=3D"a14" doxytag=3D"apreq.h::APREQ_BRIGADE_COPY" >= </a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> +Define the generic APREQ_ macros and common data structures. <hr><h2>Defin= e Documentation</h2> +<a class=3D"anchor" name=3D"a10" doxytag=3D"apreq.h::APREQ_FLAGS_SET"></a>= <p> +<table class=3D"mdTable" cellpadding=3D"2" cellspacing=3D"0"> <tr> <td class=3D"mdRow"> <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> <tr> - <td class=3D"md" nowrap valign=3D"top"> #define APREQ_BRIGADE_CO= PY </td> + <td class=3D"md" nowrap valign=3D"top">#define APREQ_FLAGS_SET = </td> <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">d, <tr> + <td class=3D"md" nowrap valign=3D"top">f, <tr> <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>s </td> - <td class=3D"mdname1" valign=3D"top" nowrap> </td> - <td class=3D"md" valign=3D"top"> ) </td> - <td class=3D"md" nowrap></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -<b>Value:</b><pre class=3D"fragment"><div><span class=3D"keywordflow">do</= span> { \ - <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.org/docs/apr= -util/" href=3D"http://apr.apache.org/docs/apr-util/structapr__bucket.html"= >apr_bucket</a> *e; \ - <span class=3D"keywordflow">for</span> (e =3D <a class=3D"codeRef" dox= ygen=3D"apu.tag:http://apr.apache.org/docs/apr-util/" href=3D"http://apr.ap= ache.org/docs/apr-util/apr__buckets_8h.html#ga81">APR_BRIGADE_FIRST</a>(s);= e !=3D <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.org/docs/= apr-util/" href=3D"http://apr.apache.org/docs/apr-util/apr__buckets_8h.html= #ga79">APR_BRIGADE_SENTINEL</a>(s); \ - e =3D <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.o= rg/docs/apr-util/" href=3D"http://apr.apache.org/docs/apr-util/apr__buckets= _8h.html#ga89">APR_BUCKET_NEXT</a>(e)) \ - { \ - <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.org/docs= /apr-util/" href=3D"http://apr.apache.org/docs/apr-util/structapr__bucket.h= tml">apr_bucket</a> *c; \ - <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.org/docs= /apr-util/" href=3D"http://apr.apache.org/docs/apr-util/apr__buckets_8h.htm= l#ga110">apr_bucket_copy</a>(e, &c); = \ - <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.org/docs= /apr-util/" href=3D"http://apr.apache.org/docs/apr-util/apr__buckets_8h.htm= l#ga84">APR_BRIGADE_INSERT_TAIL</a>(d, c); \ - } \ -} <span class=3D"keywordflow">while</span> (0) -</div></pre>Copy a brigade. <dl compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>d</em> </td><td>(destination) C= opied buckets are appended to this brigade. </td></tr> - <tr><td></td><td valign=3Dtop><em>s</em> </td><td>(source) Brigad= e to copy from. </td></tr> - </table> -</dl> -<dl compact><dt><b>Remarks:</b></dt><dd>s =3D=3D d produces Undefined Beha= vior. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a13" doxytag=3D"apreq.h::APREQ_BRIGADE_SETASID= E" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> #define APREQ_BRIGADE_SE= TASIDE </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">bb, <tr> + <td class=3D"md"></td> + <td class=3D"md" nowrap>name, <tr> <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>p </td> + <td class=3D"md"></td> + <td class=3D"md" nowrap>value </td> <td class=3D"mdname1" valign=3D"top" nowrap> </td> <td class=3D"md" valign=3D"top"> ) </td> <td class=3D"md" nowrap></td> @@ -212,78 +146,7 @@ </td> </tr> </table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -<b>Value:</b><pre class=3D"fragment"><div><span class=3D"keywordflow">do</= span> { \ - <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.org/docs/apr= -util/" href=3D"http://apr.apache.org/docs/apr-util/structapr__bucket.html"= >apr_bucket</a> *e; \ - <span class=3D"keywordflow">for</span> (e =3D <a class=3D"codeRef" dox= ygen=3D"apu.tag:http://apr.apache.org/docs/apr-util/" href=3D"http://apr.ap= ache.org/docs/apr-util/apr__buckets_8h.html#ga81">APR_BRIGADE_FIRST</a>(bb)= ; e !=3D <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.org/docs= /apr-util/" href=3D"http://apr.apache.org/docs/apr-util/apr__buckets_8h.htm= l#ga79">APR_BRIGADE_SENTINEL</a>(bb); \ - e =3D <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.o= rg/docs/apr-util/" href=3D"http://apr.apache.org/docs/apr-util/apr__buckets= _8h.html#ga89">APR_BUCKET_NEXT</a>(e)) = \ - { \ - <a class=3D"codeRef" doxygen=3D"apu.tag:http://apr.apache.org/docs= /apr-util/" href=3D"http://apr.apache.org/docs/apr-util/apr__buckets_8h.htm= l#ga108">apr_bucket_setaside</a>(e, p); = \ - } \ -} <span class=3D"keywordflow">while</span> (0) -</div></pre>Set aside all buckets in the brigade. <dl compact><dt><b>Param= eters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>bb</em> </td><td>Brigade. </td>= </tr> - <tr><td></td><td valign=3Dtop><em>p</em> </td><td>Setaside bucket= s into this pool. </td></tr> - </table> -</dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a10" doxytag=3D"apreq.h::apreq_char_to_value" = ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> #define apreq_char_to_va= lue </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">ptr </td> - <td class=3D"mdname1" valign=3D"top" nowrap> </td> - <td class=3D"md" valign=3D"top"> ) </td> - <td class=3D"md" nowrap>   apreq_attr_to_type(<a = class=3D"el" href=3D"structapreq__value__t.html">apreq_value_t</a>, data, p= tr)</td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Converts (char *) to (<a class=3D"el" href=3D"structapreq__value__t.html">= apreq_value_t</a> *). The char * is assumed to point at the data attribute = of an <a class=3D"el" href=3D"structapreq__value__t.html">apreq_value_t</a>= struct.<p> -<dl compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>ptr</em> </td><td>points at the= data field of an <a class=3D"el" href=3D"structapreq__value__t.html">apreq= _value_t</a> struct. </td></tr> - </table> -</dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a8" doxytag=3D"apreq.h::APREQ_MAX_BRIGADE_LEN"= ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> #define APREQ_MAX_BRIGAD= E_LEN   (256 * 1024) </td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> +<table cellspacing=3D"5" cellpadding=3D"0" border=3D"0"> <tr> <td>   @@ -291,27 +154,25 @@ <td> =20 <p> -Maximum amount of heap space a brigade may use before switching to file bu= ckets </td> +<b>Value:</b><div class=3D"fragment"><pre class=3D"fragment">((f) =3D (((f= ) & ~(name##_MASK << name##_BIT)) \ + | ((name##_MASK & (value)) << name##_BIT))) +</pre></div> </td> </tr> </table> -<a class=3D"anchor" name=3D"a12" doxytag=3D"apreq.h::apreq_strlen" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> +<hr><h2>Enumeration Type Documentation</h2> +<a class=3D"anchor" name=3D"a37" doxytag=3D"apreq.h::apreq_charset_t"></a>= <p> +<table class=3D"mdTable" cellpadding=3D"2" cellspacing=3D"0"> <tr> <td class=3D"mdRow"> <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> <tr> - <td class=3D"md" nowrap valign=3D"top"> #define apreq_strlen = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">ptr </td> - <td class=3D"mdname1" valign=3D"top" nowrap> </td> - <td class=3D"md" valign=3D"top"> ) </td> - <td class=3D"md" nowrap>   (apreq_strtoval(ptr)-&= gt;size)</td> + <td class=3D"md" nowrap valign=3D"top">enum <a class=3D"el" href= =3D"apreq_8h.html#a37">apreq_charset_t</a> </td> </tr> </table> </td> </tr> </table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> +<table cellspacing=3D"5" cellpadding=3D"0" border=3D"0"> <tr> <td>   @@ -319,29 +180,22 @@ <td> =20 <p> -Computes the length of the string, but unlike strlen(), it permits embedde= d null characters.<p> -<dl compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>ptr</em> </td><td>points at the= data field of an <a class=3D"el" href=3D"structapreq__value__t.html">apreq= _value_t</a> struct. </td></tr> - </table> -</dl> - </td> +Character encodings. </td> </tr> </table> -<hr><h2>Enumeration Type Documentation</h2> -<a class=3D"anchor" name=3D"a49" doxytag=3D"apreq.h::apreq_expires_t" ></a= ><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> +<a class=3D"anchor" name=3D"a40" doxytag=3D"apreq.h::apreq_expires_t"></a>= <p> +<table class=3D"mdTable" cellpadding=3D"2" cellspacing=3D"0"> <tr> <td class=3D"mdRow"> <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> <tr> - <td class=3D"md" nowrap valign=3D"top"> enum <a class=3D"el" hre= f=3D"apreq_8h.html#a49">apreq_expires_t</a> </td> + <td class=3D"md" nowrap valign=3D"top">enum <a class=3D"el" href= =3D"apreq_8h.html#a40">apreq_expires_t</a> </td> </tr> </table> </td> </tr> </table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> +<table cellspacing=3D"5" cellpadding=3D"0" border=3D"0"> <tr> <td>   @@ -350,29 +204,29 @@ =20 <p> Expiration date format <dl compact><dt><b>Enumeration values: </b></dt><dd> -<table border=3D0 cellspacing=3D2 cellpadding=3D0> -<tr><td valign=3Dtop><em><a class=3D"anchor" name=3D"a49a24" doxytag=3D"AP= REQ_EXPIRES_HTTP" ></a>APREQ_EXPIRES_HTTP</em> </td><td> +<table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> +<tr><td valign=3D"top"><em><a class=3D"anchor" name=3D"a40a31" doxytag=3D"= APREQ_EXPIRES_HTTP"></a>APREQ_EXPIRES_HTTP</em> </td><td> Use date formatting consistent with RFC 2616 </td></tr> -<tr><td valign=3Dtop><em><a class=3D"anchor" name=3D"a49a25" doxytag=3D"AP= REQ_EXPIRES_NSCOOKIE" ></a>APREQ_EXPIRES_NSCOOKIE</em> </td><td> +<tr><td valign=3D"top"><em><a class=3D"anchor" name=3D"a40a32" doxytag=3D"= APREQ_EXPIRES_NSCOOKIE"></a>APREQ_EXPIRES_NSCOOKIE</em> </td><td> Use format consistent with Netscape's Cookie Spec </td></tr> </table> </dl> </td> </tr> </table> -<a class=3D"anchor" name=3D"a47" doxytag=3D"apreq.h::apreq_join_t" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> +<a class=3D"anchor" name=3D"a38" doxytag=3D"apreq.h::apreq_join_t"></a><p> +<table class=3D"mdTable" cellpadding=3D"2" cellspacing=3D"0"> <tr> <td class=3D"mdRow"> <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> <tr> - <td class=3D"md" nowrap valign=3D"top"> enum <a class=3D"el" hre= f=3D"apreq_8h.html#a47">apreq_join_t</a> </td> + <td class=3D"md" nowrap valign=3D"top">enum <a class=3D"el" href= =3D"apreq_8h.html#a38">apreq_join_t</a> </td> </tr> </table> </td> </tr> </table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> +<table cellspacing=3D"5" cellpadding=3D"0" border=3D"0"> <tr> <td>   @@ -381,33 +235,33 @@ =20 <p> Join type <dl compact><dt><b>Enumeration values: </b></dt><dd> -<table border=3D0 cellspacing=3D2 cellpadding=3D0> -<tr><td valign=3Dtop><em><a class=3D"anchor" name=3D"a47a18" doxytag=3D"AP= REQ_JOIN_AS_IS" ></a>APREQ_JOIN_AS_IS</em> </td><td> +<table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> +<tr><td valign=3D"top"><em><a class=3D"anchor" name=3D"a38a25" doxytag=3D"= APREQ_JOIN_AS_IS"></a>APREQ_JOIN_AS_IS</em> </td><td> Join the strings without modification </td></tr> -<tr><td valign=3Dtop><em><a class=3D"anchor" name=3D"a47a19" doxytag=3D"AP= REQ_JOIN_ENCODE" ></a>APREQ_JOIN_ENCODE</em> </td><td> +<tr><td valign=3D"top"><em><a class=3D"anchor" name=3D"a38a26" doxytag=3D"= APREQ_JOIN_ENCODE"></a>APREQ_JOIN_ENCODE</em> </td><td> Url-encode the strings before joining them </td></tr> -<tr><td valign=3Dtop><em><a class=3D"anchor" name=3D"a47a20" doxytag=3D"AP= REQ_JOIN_DECODE" ></a>APREQ_JOIN_DECODE</em> </td><td> +<tr><td valign=3D"top"><em><a class=3D"anchor" name=3D"a38a27" doxytag=3D"= APREQ_JOIN_DECODE"></a>APREQ_JOIN_DECODE</em> </td><td> Url-decode the strings before joining them </td></tr> -<tr><td valign=3Dtop><em><a class=3D"anchor" name=3D"a47a21" doxytag=3D"AP= REQ_JOIN_QUOTE" ></a>APREQ_JOIN_QUOTE</em> </td><td> +<tr><td valign=3D"top"><em><a class=3D"anchor" name=3D"a38a28" doxytag=3D"= APREQ_JOIN_QUOTE"></a>APREQ_JOIN_QUOTE</em> </td><td> Quote the strings, backslashing existing quote marks. </td></tr> </table> </dl> </td> </tr> </table> -<a class=3D"anchor" name=3D"a48" doxytag=3D"apreq.h::apreq_match_t" ></a><= p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> +<a class=3D"anchor" name=3D"a39" doxytag=3D"apreq.h::apreq_match_t"></a><p> +<table class=3D"mdTable" cellpadding=3D"2" cellspacing=3D"0"> <tr> <td class=3D"mdRow"> <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> <tr> - <td class=3D"md" nowrap valign=3D"top"> enum <a class=3D"el" hre= f=3D"apreq_8h.html#a48">apreq_match_t</a> </td> + <td class=3D"md" nowrap valign=3D"top">enum <a class=3D"el" href= =3D"apreq_8h.html#a39">apreq_match_t</a> </td> </tr> </table> </td> </tr> </table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> +<table cellspacing=3D"5" cellpadding=3D"0" border=3D"0"> <tr> <td>   @@ -416,10 +270,10 @@ =20 <p> Match type <dl compact><dt><b>Enumeration values: </b></dt><dd> -<table border=3D0 cellspacing=3D2 cellpadding=3D0> -<tr><td valign=3Dtop><em><a class=3D"anchor" name=3D"a48a22" doxytag=3D"AP= REQ_MATCH_FULL" ></a>APREQ_MATCH_FULL</em> </td><td> +<table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> +<tr><td valign=3D"top"><em><a class=3D"anchor" name=3D"a39a29" doxytag=3D"= APREQ_MATCH_FULL"></a>APREQ_MATCH_FULL</em> </td><td> Full match only. </td></tr> -<tr><td valign=3Dtop><em><a class=3D"anchor" name=3D"a48a23" doxytag=3D"AP= REQ_MATCH_PARTIAL" ></a>APREQ_MATCH_PARTIAL</em> </td><td> +<tr><td valign=3D"top"><em><a class=3D"anchor" name=3D"a39a30" doxytag=3D"= APREQ_MATCH_PARTIAL"></a>APREQ_MATCH_PARTIAL</em> </td><td> Partial matches are ok. </td></tr> </table> </dl> @@ -427,16 +281,16 @@ </tr> </table> <hr><h2>Function Documentation</h2> -<a class=3D"anchor" name=3D"a41" doxytag=3D"apreq.h::apreq_atoi64f" ></a><= p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> +<a class=3D"anchor" name=3D"a34" doxytag=3D"apreq.h::apreq_initialize"></a= ><p> +<table class=3D"mdTable" cellpadding=3D"2" cellspacing=3D"0"> <tr> <td class=3D"mdRow"> <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr_8h.html#ga5">apr_int64_t</a> apreq_atoi64f </td> + <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/group__apr__errno.html#gga0">apr_status_t</a> apreq_initialize = </td> <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">const char * </td> - <td class=3D"mdname1" valign=3D"top" nowrap> <em>s</em> = </td> + <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td> + <td class=3D"mdname1" valign=3D"top" nowrap> <em>pool</em> = </td> <td class=3D"md" valign=3D"top"> ) </td> <td class=3D"md" nowrap></td> </tr> @@ -444,7 +298,7 @@ </td> </tr> </table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> +<table cellspacing=3D"5" cellpadding=3D"0" border=3D"0"> <tr> <td>   @@ -452,25 +306,26 @@ <td> =20 <p> -Converts file sizes (KMG) to bytes <dl compact><dt><b>Parameters:</b></dt>= <dd> +Initialize libapreq2. Applications (except apache modules using mod_apreq)= should call this exactly once before they use any libapreq2 modules. If yo= u want to modify the list of default parsers with <a class=3D"el" href=3D"a= preq__parser_8h.html#a19">apreq_register_parser()</a>, please use <a class= =3D"el" href=3D"apreq_8h.html#a35">apreq_pre_initialize()</a> and <a class= =3D"el" href=3D"apreq_8h.html#a36">apreq_post_initialize()</a> instead.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>s</em> </td><td>file size match= ing m/^+[KMG]b?$/i </td></tr> + <tr><td valign=3D"top"></td><td valign=3D"top"><em>pool</em> </td= ><td>a base pool persisting while libapreq2 is used </td></tr> </table> </dl> -<dl compact><dt><b>Returns:</b></dt><dd>64-bit integer representation of s= . </dd></dl> +<dl compact><dt><b>Remarks:</b></dt><dd>after you detroy the pool, you hav= e to call this function again with a new pool if you still plan to use liba= preq2 </dd></dl> </td> </tr> </table> -<a class=3D"anchor" name=3D"a42" doxytag=3D"apreq.h::apreq_atoi64t" ></a><= p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> +<a class=3D"anchor" name=3D"a36" doxytag=3D"apreq.h::apreq_post_initialize= "></a><p> +<table class=3D"mdTable" cellpadding=3D"2" cellspacing=3D"0"> <tr> <td class=3D"mdRow"> <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr_8h.html#ga5">apr_int64_t</a> apreq_atoi64t </td> + <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/group__apr__errno.html#gga0">apr_status_t</a> apreq_post_initiali= ze </td> <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">const char * </td> - <td class=3D"mdname1" valign=3D"top" nowrap> <em>s</em> = </td> + <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td> + <td class=3D"mdname1" valign=3D"top" nowrap> <em>pool</em> = </td> <td class=3D"md" valign=3D"top"> ) </td> <td class=3D"md" nowrap></td> </tr> @@ -478,56 +333,7 @@ </td> </tr> </table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Converts time strings (YMDhms) to seconds <dl compact><dt><b>Parameters:</= b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>s</em> </td><td>time string mat= ching m/^\+?+[YMDhms]$/ </td></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd>64-bit integer representation of s= as seconds. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a43" doxytag=3D"apreq.h::apreq_brigade_fwrite"= ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a> apreq_brigade_fwrite = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/apr__file__io_8h.html#ga2">apr_file_t</a> * </td> - <td class=3D"mdname" nowrap> <em>f</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8= h=2Ehtml#ga9">apr_off_t</a> * </td> - <td class=3D"mdname" nowrap> <em>wlen</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apu.tag:ht= tp://apr.apache.org/docs/apr-util/" href=3D"http://apr.apache.org/docs/apr-= util/structapr__bucket__brigade.html">apr_bucket_brigade</a> * </td> - <td class=3D"mdname" nowrap> <em>bb</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> +<table cellspacing=3D"5" cellpadding=3D"0" border=3D"0"> <tr> <td>   @@ -535,27 +341,25 @@ <td> =20 <p> -Writes brigade to a file. <dl compact><dt><b>Parameters:</b></dt><dd> +Post-initialize libapreq2. Applications (except apache modules using mod_a= preq2) should this exactly once before they use any libapreq2 modules for p= arsing.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>f</em> </td><td>File that gets = the brigade. </td></tr> - <tr><td></td><td valign=3Dtop><em>wlen</em> </td><td>On a success= ful return, wlen holds the length of the brigade, which is the amount of da= ta written to the file. </td></tr> - <tr><td></td><td valign=3Dtop><em>bb</em> </td><td>Bucket brigade= . </td></tr> + <tr><td valign=3D"top"></td><td valign=3D"top"><em>pool</em> </td= ><td>the same pool that was used in <a class=3D"el" href=3D"apreq_8h.html#a= 35">apreq_pre_initialize()</a>. </td></tr> </table> </dl> -<dl compact><dt><b>Remarks:</b></dt><dd>In the future, this function may d= o something intelligent with file buckets. </dd></dl> </td> </tr> </table> -<a class=3D"anchor" name=3D"a45" doxytag=3D"apreq.h::apreq_brigade_spoolfi= le" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> +<a class=3D"anchor" name=3D"a35" doxytag=3D"apreq.h::apreq_pre_initialize"= ></a><p> +<table class=3D"mdTable" cellpadding=3D"2" cellspacing=3D"0"> <tr> <td class=3D"mdRow"> <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr__file__io_8h.html#ga2">apr_file_t</a>* apreq_brigade_spoolfi= le </td> + <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/group__apr__errno.html#gga0">apr_status_t</a> apreq_pre_initializ= e </td> <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apu.tag:http://apr.apache.org/docs/apr-util/" href=3D"http://apr.apach= e=2Eorg/docs/apr-util/structapr__bucket__brigade.html">apr_bucket_brigade</= a> * </td> - <td class=3D"mdname1" valign=3D"top" nowrap> <em>bb</em> = </td> + <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/group__apr__pools.html#gga0">apr_pool_t</a> * </td> + <td class=3D"mdname1" valign=3D"top" nowrap> <em>pool</em> = </td> <td class=3D"md" valign=3D"top"> ) </td> <td class=3D"md" nowrap></td> </tr> @@ -563,156 +367,7 @@ </td> </tr> </table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Gets the spoolfile associated to a brigade, if any. <dl compact><dt><b>Par= ameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>bb</em> </td><td>Brigade, usual= ly associated to a file upload (<a class=3D"el" href=3D"structapreq__param_= _t.html">apreq_param_t</a>). </td></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd>If the last bucket in the brigade = is a file bucket, this function will return its associated file. Otherwise,= this function returns NULL. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a27" doxytag=3D"apreq.h::apreq_copy_value" ></= a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"el" href=3D"= structapreq__value__t.html">apreq_value_t</a>* apreq_copy_value <= /td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> * </td> - <td class=3D"mdname" nowrap> <em>p</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"el" href=3D"structapre= q__value__t.html">apreq_value_t</a> * </td> - <td class=3D"mdname" nowrap> <em>val</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Makes a pool-allocated copy of the value. <dl compact><dt><b>Parameters:</= b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>p</em> </td><td>Pool. </td></tr> - <tr><td></td><td valign=3Dtop><em>val</em> </td><td>Original valu= e to copy. </td></tr> - </table> -</dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a36" doxytag=3D"apreq.h::apreq_decode" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr_8h.html#ga8">apr_ssize_t</a> apreq_decode </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">char * </td> - <td class=3D"mdname" nowrap> <em>dest</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>src</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8= h=2Ehtml#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>slen</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Url-decodes a string. <dl compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>dest</em> </td><td>Location of = url-encoded result string. Caller must ensure dest is large enough to hold = the encoded string and trailing null character. </td></tr> - <tr><td></td><td valign=3Dtop><em>src</em> </td><td>Original stri= ng. </td></tr> - <tr><td></td><td valign=3Dtop><em>slen</em> </td><td>Length of or= iginal string. </td></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd>Length of url-decoded string in de= st, or < 0 on decoding (bad data) error. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a37" doxytag=3D"apreq.h::apreq_decodev" ></a><= p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a> apreq_decodev = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">char * </td> - <td class=3D"mdname" nowrap> <em>d</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8= h=2Ehtml#ga7">apr_size_t</a> * </td> - <td class=3D"mdname" nowrap> <em>dlen</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>struct iovec * </td> - <td class=3D"mdname" nowrap> <em>v</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>int </td> - <td class=3D"mdname" nowrap> <em>nelts</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> +<table cellspacing=3D"5" cellpadding=3D"0" border=3D"0"> <tr> <td>   @@ -720,765 +375,23 @@ <td> =20 <p> -Url-decodes an iovec array. <dl compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>dest</em> </td><td>Location of = url-encoded result string. Caller must ensure dest is large enough to hold = the encoded string and trailing null character. </td></tr> - <tr><td></td><td valign=3Dtop><em>dlen</em> </td><td>Resultant le= ngth of dest. </td></tr> - <tr><td></td><td valign=3Dtop><em>v</em> </td><td>Array of iovecs= that represent the source string </td></tr> - <tr><td></td><td valign=3Dtop><em>nelts</em> </td><td>Number of i= ovecs in the array. </td></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd>APR_SUCCESS on success, APR_INCOMP= LETE if the iovec ends in the middle of an XX escape sequence, error otherw= ise. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a35" doxytag=3D"apreq.h::apreq_encode" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr_8h.html#ga7">apr_size_t</a> apreq_encode </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">char * </td> - <td class=3D"mdname" nowrap> <em>dest</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>src</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"elRef" doxygen=3D"apr.= tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr= /apr_8h.html#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>slen</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Url-encodes a string. <dl compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>dest</em> </td><td>Location of = url-encoded result string. Caller must ensure it is large enough to hold th= e encoded string and trailing ''. </td></tr> - <tr><td></td><td valign=3Dtop><em>src</em> </td><td>Original stri= ng. </td></tr> - <tr><td></td><td valign=3Dtop><em>slen</em> </td><td>Length of or= iginal string. </td></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd>length of url-encoded string in de= st. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a29" doxytag=3D"apreq.h::apreq_enctype" ></a><= p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> const char* apreq_enctyp= e </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">void * </td> - <td class=3D"mdname1" valign=3D"top" nowrap> <em>env</em> = </td> - <td class=3D"md" valign=3D"top"> ) </td> - <td class=3D"md" nowrap></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Fetches the enctype from the environment. <dl compact><dt><b>Parameters:</= b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>env</em> </td><td>Environment. = </td></tr> - </table> -</dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a38" doxytag=3D"apreq.h::apreq_escape" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> char* apreq_escape = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> * </td> - <td class=3D"mdname" nowrap> <em>p</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>src</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"elRef" doxygen=3D"apr.= tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr= /apr_8h.html#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>slen</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Returns an url-encoded copy of a string. <dl compact><dt><b>Parameters:</b= ></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>p</em> </td><td>Pool used to al= locate the return value. </td></tr> - <tr><td></td><td valign=3Dtop><em>src</em> </td><td>Original stri= ng. </td></tr> - <tr><td></td><td valign=3Dtop><em>slen</em> </td><td>Length of or= iginal string. </td></tr> - </table> -</dl> -<dl compact><dt><b>Remarks:</b></dt><dd>Use this function insead of apreq_= encode if its caller might otherwise overflow dest. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a40" doxytag=3D"apreq.h::apreq_expires" ></a><= p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> char* apreq_expires = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> * </td> - <td class=3D"mdname" nowrap> <em>p</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>time_str</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"el" href=3D"apreq_8h.h= tml#a49">apreq_expires_t</a> </td> - <td class=3D"mdname" nowrap> <em>type</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Returns an RFC-822 formatted time string. Similar to ap_gm_timestr_822.<p> +Pre-initialize libapreq2. Applications (except apache modules using mod_ap= req2) should call this exactly once before they register custom parsers wit= h libapreq2. mod_apreq2 does this automatically during the post-config phas= e, so modules that need call apreq_register_parser should create a post-con= fig hook using APR_HOOK_MIDDLE.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>p</em> </td><td>Pool to allocat= e return string. </td></tr> - <tr><td></td><td valign=3Dtop><em>time_str</em> </td><td>YMDhms t= ime units (from now) until expiry. Understands "now". </td></tr> - <tr><td></td><td valign=3Dtop><em>type</em> </td><td><a class=3D"= el" href=3D"apreq_8h.html#a49a24">APREQ_EXPIRES_HTTP</a> for RFC822 dates, = <a class=3D"el" href=3D"apreq_8h.html#a49a25">APREQ_EXPIRES_NSCOOKIE</a> fo= r Netscape cookie dates. </td></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd>Date string, (time_str is offset f= rom "now") formatted according to type. </dd></dl> -<p> -<dl compact><dt><b><a class=3D"el" href=3D"deprecated.html#_deprecated0000= 01">Deprecated:</a></b></dt><dd>Use apr_rfc822_date instead. <a class=3D"el= " href=3D"apreq_8h.html#a49a25">APREQ_EXPIRES_NSCOOKIE</a> strings are form= atted with a '-' (instead of a ' ') character at offsets 7 and 11. </dd></d= l> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a44" doxytag=3D"apreq.h::apreq_file_mktemp" ><= /a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a> apreq_file_mktemp = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/apr__file__io_8h.html#ga2">apr_file_t</a> ** </td> - <td class=3D"mdname" nowrap> <em>fp</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr__= pools_8h.html#ga0">apr_pool_t</a> * </td> - <td class=3D"mdname" nowrap> <em>pool</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>path</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Makes a temporary file. <dl compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>fp</em> </td><td>Points to the = temporary apr_file_t on success. </td></tr> - <tr><td></td><td valign=3Dtop><em>pool</em> </td><td>Pool to asso= ciate with the temp file. When the pool is destroyed, the temp file will be= closed and deleted. </td></tr> - <tr><td></td><td valign=3Dtop><em>path</em> </td><td>The base dir= ectory which will contain the temp file. If param =3D=3D NULL, the director= y will be selected via tempnam(). See the tempnam manpage for details. </td= ></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd>APR_SUCCESS on success; error code= otherwise. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a46" doxytag=3D"apreq.h::apreq_header_attribut= e" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a> apreq_header_attribute = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">const char * </td> - <td class=3D"mdname" nowrap> <em>hdr</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>name</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"elRef" doxygen=3D"apr.= tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr= /apr_8h.html#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>nlen</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char ** </td> - <td class=3D"mdname" nowrap> <em>val</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8= h=2Ehtml#ga7">apr_size_t</a> * </td> - <td class=3D"mdname" nowrap> <em>vlen</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Search a header string for the value of a particular named attribute. <dl = compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>hdr</em> </td><td>Header string= to scan. </td></tr> - <tr><td></td><td valign=3Dtop><em>name</em> </td><td>Name of attr= ibute to search for. </td></tr> - <tr><td></td><td valign=3Dtop><em>nlen</em> </td><td>Length of na= me. </td></tr> - <tr><td></td><td valign=3Dtop><em>val</em> </td><td>Location of (= first) matching value. </td></tr> - <tr><td></td><td valign=3Dtop><em>vlen</em> </td><td>Length of ma= tching value. </td></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd>APR_SUCCESS if found, otherwise AP= R_NOTFOUND. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a32" doxytag=3D"apreq.h::apreq_index" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"elRef" doxyg= en=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.or= g/docs/apr/apr_8h.html#ga8">apr_ssize_t</a> apreq_index </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">const char * </td> - <td class=3D"mdname" nowrap> <em>hay</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8= h=2Ehtml#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>hlen</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>ndl</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8= h=2Ehtml#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>nlen</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"el" href=3D"apreq_8h.h= tml#a48">apreq_match_t</a> </td> - <td class=3D"mdname" nowrap> <em>type</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Returns offset of match string's location, or -1 if no match is found. <dl= compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>hay</em> </td><td>Location of b= ytes to scan. </td></tr> - <tr><td></td><td valign=3Dtop><em>hlen</em> </td><td>Number of by= tes available for scanning. </td></tr> - <tr><td></td><td valign=3Dtop><em>ndl</em> </td><td>Search string= </td></tr> - <tr><td></td><td valign=3Dtop><em>nlen</em> </td><td>Length of se= arch string. </td></tr> - <tr><td></td><td valign=3Dtop><em>type</em> </td><td>Match type. = </td></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd>Offset of match string, or -1 if m= o match is found. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a30" doxytag=3D"apreq.h::apreq_join" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> const char* apreq_join = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> * </td> - <td class=3D"mdname" nowrap> <em>p</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>sep</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"elRef" doxygen=3D"apr.= tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr= /structapr__array__header__t.html">apr_array_header_t</a> * </td> - <td class=3D"mdname" nowrap> <em>arr</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"el" href=3D"apreq_8h.html#a4= 7">apreq_join_t</a> </td> - <td class=3D"mdname" nowrap> <em>mode</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Join an array of values. <dl compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>p</em> </td><td>Pool to allocat= e return value. </td></tr> - <tr><td></td><td valign=3Dtop><em>sep</em> </td><td>String that i= s inserted between the joined values. </td></tr> - <tr><td></td><td valign=3Dtop><em>arr</em> </td><td>Array of valu= es. </td></tr> - <tr><td></td><td valign=3Dtop><em>mode</em> </td><td>Join type- s= ee apreq_join_t. </td></tr> - </table> -</dl> -<dl compact><dt><b>Remarks:</b></dt><dd>Return string can be upgraded to a= n <a class=3D"el" href=3D"structapreq__value__t.html">apreq_value_t</a> wit= h apreq_stroval. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a26" doxytag=3D"apreq.h::apreq_make_value" ></= a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"el" href=3D"= structapreq__value__t.html">apreq_value_t</a>* apreq_make_value <= /td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> * </td> - <td class=3D"mdname" nowrap> <em>p</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>name</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"elRef" doxygen=3D"apr.= tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr= /apr_8h.html#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>nlen</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>val</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"elRef" doxygen=3D"apr.= tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr= /apr_8h.html#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>vlen</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Construcs an <a class=3D"el" href=3D"structapreq__value__t.html">apreq_val= ue_t</a> from the name/value info supplied by the arguments.<p> -<dl compact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>p</em> </td><td>Pool for alloca= ting the name and value. </td></tr> - <tr><td></td><td valign=3Dtop><em>name</em> </td><td>Name of valu= e=2E </td></tr> - <tr><td></td><td valign=3Dtop><em>nlen</em> </td><td>Length of na= me. </td></tr> - <tr><td></td><td valign=3Dtop><em>val</em> </td><td>Value data. <= /td></tr> - <tr><td></td><td valign=3Dtop><em>vlen</em> </td><td>Length of va= l=2E </td></tr> - </table> -</dl> -<dl compact><dt><b>Returns:</b></dt><dd><a class=3D"el" href=3D"structapre= q__value__t.html">apreq_value_t</a> allocated from pool, with v->data ho= lding a copy of val, v->status =3D 0, and v->name pointing to a nul-t= erminated copy of name. </dd></dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a31" doxytag=3D"apreq.h::apreq_memmem" ></a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> char* apreq_memmem = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top">char * </td> - <td class=3D"mdname" nowrap> <em>hay</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8= h=2Ehtml#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>hlen</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const char * </td> - <td class=3D"mdname" nowrap> <em>ndl</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap><a class=3D"elRef" doxygen=3D"apr.tag:ht= tp://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org/docs/apr/apr_8= h=2Ehtml#ga7">apr_size_t</a> </td> - <td class=3D"mdname" nowrap> <em>nlen</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> - <td class=3D"md" nowrap>const <a class=3D"el" href=3D"apreq_8h.h= tml#a48">apreq_match_t</a> </td> - <td class=3D"mdname" nowrap> <em>type</em></td> - </tr> - <tr> - <td></td> - <td class=3D"md">) </td> - <td class=3D"md" colspan=3D"2"></td> - </tr> - </table> - </td> - </tr> -</table> -<table cellspacing=3D5 cellpadding=3D0 border=3D0> - <tr> - <td> -   - </td> - <td> - -<p> -Return a pointer to the match string, or NULL if no match is found. <dl co= mpact><dt><b>Parameters:</b></dt><dd> - <table border=3D"0" cellspacing=3D"2" cellpadding=3D"0"> - <tr><td></td><td valign=3Dtop><em>hay</em> </td><td>Location of b= ytes to scan. </td></tr> - <tr><td></td><td valign=3Dtop><em>hlen</em> </td><td>Number of by= tes available for scanning. </td></tr> - <tr><td></td><td valign=3Dtop><em>ndl</em> </td><td>Search string= </td></tr> - <tr><td></td><td valign=3Dtop><em>nlen</em> </td><td>Length of se= arch string. </td></tr> - <tr><td></td><td valign=3Dtop><em>type</em> </td><td>Match type. = </td></tr> - </table> -</dl> - </td> - </tr> -</table> -<a class=3D"anchor" name=3D"a28" doxytag=3D"apreq.h::apreq_merge_values" >= </a><p> -<table class=3D"mdTable" width=3D"100%" cellpadding=3D"2" cellspacing=3D"0= "> - <tr> - <td class=3D"mdRow"> - <table cellpadding=3D"0" cellspacing=3D"0" border=3D"0"> - <tr> - <td class=3D"md" nowrap valign=3D"top"> <a class=3D"el" href=3D"= structapreq__value__t.html">apreq_value_t</a>* apreq_merge_values = </td> - <td class=3D"md" valign=3D"top">( </td> - <td class=3D"md" nowrap valign=3D"top"><a class=3D"elRef" doxyge= n=3D"apr.tag:http://apr.apache.org/docs/apr/" href=3D"http://apr.apache.org= /docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> * </td> - <td class=3D"mdname" nowrap> <em>p</em>, </td> - </tr> - <tr> - <td class=3D"md" nowrap align=3D"right"></td> - <td></td> [=2E.. 184 lines stripped ...]