You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by jo...@apache.org on 2005/05/04 19:40:16 UTC
svn commit: r168155 [14/27] - in /httpd/site/trunk:
docs/apreq/docs/libapreq2/ xdocs/apreq/docs/libapreq2/
Modified: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h-source.html
URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h-source.html?rev=168155&r1=168154&r2=168155&view=diff
==============================================================================
--- httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h-source.html (original)
+++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq_8h-source.html Wed May 4 10:40:10 2005
@@ -1,7 +1,7 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="dox.css" />
- <title>libapreq2-2.04-dev: libapreq2: src/apreq.h Source File</title>
+ <title>libapreq2-2.05-dev: libapreq2: include/apreq.h Source File</title>
</head>
<body>
<div id="page-header">
@@ -10,10 +10,12 @@
<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.3.8 -->
-<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
-<h1>src/apreq.h</h1><a href="apreq_8h.html">Go to the documentation of this file.</a><pre class="fragment"><div>00001 <span class="comment">/*</span>
-00002 <span class="comment">** Copyright 2003-2004 The Apache Software Foundation</span>
+<!-- Generated by Doxygen 1.4.2 -->
+<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
+<div class="nav">
+<a class="el" href="dir_000000.html">include</a></div>
+<h1>apreq.h</h1><a href="apreq_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
+00002 <span class="comment">** Copyright 2003-2005 The Apache Software Foundation</span>
00003 <span class="comment">**</span>
00004 <span class="comment">** Licensed under the Apache License, Version 2.0 (the "License");</span>
00005 <span class="comment">** you may not use this file except in compliance with the License.</span>
@@ -31,175 +33,114 @@
00017 <span class="preprocessor">#ifndef APREQ_H</span>
00018 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_H</span>
00019 <span class="preprocessor"></span>
-00020 <span class="preprocessor">#include "<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__tables_8h.html">apr_tables.h</a>"</span>
-00021 <span class="preprocessor">#include "<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__file__io_8h.html">apr_file_io.h</a>"</span>
-00022 <span class="preprocessor">#include "<a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/apr__buckets_8h.html">apr_buckets.h</a>"</span>
-00023 <span class="preprocessor">#include <stddef.h></span>
-00024
-00025 <span class="preprocessor">#ifdef __cplusplus</span>
-00026 <span class="preprocessor"></span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
-00027 <span class="preprocessor">#endif </span>
-00028 <span class="preprocessor"></span>
-00042 <span class="preprocessor">#ifndef WIN32</span>
-00043 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE(d) APR_DECLARE(d)</span>
-00044 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE_NONSTD(d) APR_DECLARE_NONSTD(d)</span>
-00045 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE_DATA</span>
-00046 <span class="preprocessor"></span><span class="preprocessor">#else</span>
-00047 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE(type) __declspec(dllexport) type __stdcall</span>
-00048 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE_NONSTD(type) __declspec(dllexport) type</span>
-00049 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE_DATA __declspec(dllexport)</span>
-00050 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
-00051 <span class="preprocessor"></span>
-00052 <span class="preprocessor">#define APREQ_URL_ENCTYPE "application/x-www-form-urlencoded"</span>
-00053 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_MFD_ENCTYPE "multipart/form-data"</span>
-00054 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_XML_ENCTYPE "application/xml"</span>
-00055 <span class="preprocessor"></span>
-00056 <span class="preprocessor">#define APREQ_NELTS 8</span>
-00057 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_READ_AHEAD (64 * 1024)</span>
-00058 <span class="preprocessor"></span>
-<a name="l00062"></a><a class="code" href="apreq_8h.html#a8">00062</a> <span class="preprocessor">#define APREQ_MAX_BRIGADE_LEN (256 * 1024) </span>
-00063 <span class="preprocessor"></span>
-00064
-<a name="l00066"></a><a class="code" href="structapreq__value__t.html">00066</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapreq__value__t.html">apreq_value_t</a> {
-<a name="l00067"></a><a class="code" href="structapreq__value__t.html#o0">00067</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structapreq__value__t.html#o0">name</a>;
-<a name="l00068"></a><a class="code" href="structapreq__value__t.html#o1">00068</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> <a class="code" href="structapreq__value__t.html#o1">size</a>;
-<a name="l00069"></a><a class="code" href="structapreq__value__t.html#o2">00069</a> <span class="keywordtype">char</span> <a class="code" href="structapreq__value__t.html#o2">data</a>[1];
-00070 } <a class="code" href="structapreq__value__t.html">apreq_value_t</a>;
-00071
-00072 <span class="keyword">typedef</span> <a class="code" href="structapreq__value__t.html">apreq_value_t</a> *(apreq_value_merge_t)(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p,
-00073 <span class="keyword">const</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/structapr__array__header__t.html">apr_array_header_t</a> *a);
-00074 <span class="keyword">typedef</span> <a class="code" href="structapreq__value__t.html">apreq_value_t</a> *(apreq_value_copy_t)(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p,
-00075 <span class="keyword">const</span> <a class="code" href="structapreq__value__t.html">apreq_value_t</a> *v);
-00076
-00077
-00078 <span class="preprocessor">#define apreq_attr_to_type(T,A,P) ( (T*) ((char*)(P)-offsetof(T,A)) )</span>
-00079 <span class="preprocessor"></span>
-<a name="l00087"></a><a class="code" href="apreq_8h.html#a10">00087</a> <span class="preprocessor">#define apreq_char_to_value(ptr) apreq_attr_to_type(apreq_value_t, data, ptr)</span>
-00088 <span class="preprocessor"></span><span class="preprocessor">#define apreq_strtoval(ptr) apreq_char_to_value(ptr)</span>
-00089 <span class="preprocessor"></span>
-<a name="l00098"></a><a class="code" href="apreq_8h.html#a12">00098</a> <span class="preprocessor">#define apreq_strlen(ptr) (apreq_strtoval(ptr)->size)</span>
-00099 <span class="preprocessor"></span>
-00113 APREQ_DECLARE(<a class="code" href="structapreq__value__t.html">apreq_value_t</a> *) apreq_make_value(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p,
-00114 const <span class="keywordtype">char</span> *name,
-00115 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> nlen,
-00116 const <span class="keywordtype">char</span> *val,
-00117 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> vlen);
+00020 <span class="preprocessor">#ifdef APREQ_DEBUG</span>
+00021 <span class="preprocessor"></span><span class="preprocessor">#include <assert.h></span>
+00022 <span class="preprocessor">#endif</span>
+00023 <span class="preprocessor"></span>
+00024 <span class="preprocessor">#include "<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__tables_8h.html">apr_tables.h</a>"</span>
+00025 <span class="preprocessor">#include <stddef.h></span>
+00026
+00027 <span class="preprocessor">#ifdef __cplusplus</span>
+00028 <span class="preprocessor"></span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
+00029 <span class="preprocessor">#endif </span>
+00030 <span class="preprocessor"></span>
+00039 <span class="preprocessor">#ifndef WIN32</span>
+00040 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE(d) APR_DECLARE(d)</span>
+00041 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE_NONSTD(d) APR_DECLARE_NONSTD(d)</span>
+00042 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE_DATA</span>
+00043 <span class="preprocessor"></span><span class="preprocessor">#else</span>
+00044 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE(type) __declspec(dllexport) type __stdcall</span>
+00045 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE_NONSTD(type) __declspec(dllexport) type</span>
+00046 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DECLARE_DATA __declspec(dllexport)</span>
+00047 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
+00048 <span class="preprocessor"></span>
+00049 <span class="preprocessor">#define APREQ_DEFAULT_READ_BLOCK_SIZE (64 * 1024)</span>
+00050 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DEFAULT_READ_LIMIT (64 * 1024 * 1024)</span>
+00051 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DEFAULT_BRIGADE_LIMIT (256 * 1024)</span>
+00052 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_DEFAULT_NELTS 8</span>
+00053 <span class="preprocessor"></span>
+00054
+00055
+00056 <span class="preprocessor">#define APREQ_FLAGS_OFF(f, name) ((f) &= ~(name##_MASK << name##_BIT))</span>
+00057 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_FLAGS_ON(f, name) ((f) |= (name##_MASK << name##_BIT))</span>
+00058 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_FLAGS_GET(f, name) (((f) >> name##_BIT) & name##_MASK)</span>
+00059 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_FLAGS_SET(f, name, value) \</span>
+00060 <span class="preprocessor"> ((f) = (((f) & ~(name##_MASK << name##_BIT)) \</span>
+00061 <span class="preprocessor"> | ((name##_MASK & (value)) << name##_BIT)))</span>
+00062 <span class="preprocessor"></span>
+00063
+00064 <span class="preprocessor">#define APREQ_CHARSET_BIT 0</span>
+00065 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_CHARSET_MASK 255</span>
+00066 <span class="preprocessor"></span>
+00067 <span class="preprocessor">#define APREQ_TAINTED_BIT 8</span>
+00068 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_TAINTED_MASK 1</span>
+00069 <span class="preprocessor"></span>
+00070 <span class="preprocessor">#define APREQ_COOKIE_VERSION_BIT 11</span>
+00071 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_COOKIE_VERSION_MASK 3</span>
+00072 <span class="preprocessor"></span>
+00073 <span class="preprocessor">#define APREQ_COOKIE_SECURE_BIT 13</span>
+00074 <span class="preprocessor"></span><span class="preprocessor">#define APREQ_COOKIE_SECURE_MASK 1</span>
+00075 <span class="preprocessor"></span>
+<a name="l00077"></a><a class="code" href="apreq_8h.html#a37">00077</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
+00078 APREQ_CHARSET_ASCII =0,
+00079 APREQ_CHARSET_LATIN1 =1, <span class="comment">/* ISO-8859-1 */</span>
+00080 APREQ_CHARSET_CP1252 =2, <span class="comment">/* Windows-1252 */</span>
+00081 APREQ_CHARSET_UTF8 =8
+00082 } <a class="code" href="apreq_8h.html#a37">apreq_charset_t</a>;
+00083
+00084
+<a name="l00086"></a><a class="code" href="apreq_8h.html#a38">00086</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
+00087 <a class="code" href="apreq_8h.html#a38a25">APREQ_JOIN_AS_IS</a>,
+00088 <a class="code" href="apreq_8h.html#a38a26">APREQ_JOIN_ENCODE</a>,
+00089 <a class="code" href="apreq_8h.html#a38a27">APREQ_JOIN_DECODE</a>,
+00090 <a class="code" href="apreq_8h.html#a38a28">APREQ_JOIN_QUOTE</a>
+00091 } <a class="code" href="apreq_8h.html#a38">apreq_join_t</a>;
+00092
+<a name="l00094"></a><a class="code" href="apreq_8h.html#a39">00094</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
+00095 <a class="code" href="apreq_8h.html#a39a29">APREQ_MATCH_FULL</a>,
+00096 <a class="code" href="apreq_8h.html#a39a30">APREQ_MATCH_PARTIAL</a>
+00097 } <a class="code" href="apreq_8h.html#a39">apreq_match_t</a>;
+00098
+<a name="l00100"></a><a class="code" href="apreq_8h.html#a40">00100</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> {
+00101 <a class="code" href="apreq_8h.html#a40a31">APREQ_EXPIRES_HTTP</a>,
+00102 <a class="code" href="apreq_8h.html#a40a32">APREQ_EXPIRES_NSCOOKIE</a>
+00103 } <a class="code" href="apreq_8h.html#a40">apreq_expires_t</a>;
+00104
+00105
+<a name="l00107"></a><a class="code" href="structapreq__value__t.html">00107</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structapreq__value__t.html">apreq_value_t</a> {
+<a name="l00108"></a><a class="code" href="structapreq__value__t.html#o0">00108</a> <span class="keywordtype">char</span> *<a class="code" href="structapreq__value__t.html#o0">name</a>;
+<a name="l00109"></a><a class="code" href="structapreq__value__t.html#o1">00109</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a> <a class="code" href="structapreq__value__t.html#o1">nlen</a>;
+<a name="l00110"></a><a class="code" href="structapreq__value__t.html#o2">00110</a> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga7">apr_size_t</a> <a class="code" href="structapreq__value__t.html#o2">dlen</a>;
+<a name="l00111"></a><a class="code" href="structapreq__value__t.html#o3">00111</a> <span class="keywordtype">char</span> <a class="code" href="structapreq__value__t.html#o3">data</a>[1];
+00112 } <a class="code" href="structapreq__value__t.html">apreq_value_t</a>;
+00113
+00114 <span class="keyword">static</span> <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__platform.html#ga11">APR_INLINE</a>
+00115 <span class="keywordtype">void</span> apreq_value_table_add(<span class="keyword">const</span> <a class="code" href="structapreq__value__t.html">apreq_value_t</a> *v, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga0">apr_table_t</a> *t) {
+00116 <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__tables.html#ga25">apr_table_addn</a>(t, v-><a class="code" href="structapreq__value__t.html#o0">name</a>, v-><a class="code" href="structapreq__value__t.html#o3">data</a>);
+00117 }
00118
-00124 APREQ_DECLARE(<a class="code" href="structapreq__value__t.html">apreq_value_t</a> *) apreq_copy_value(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p,
-00125 const <a class="code" href="structapreq__value__t.html">apreq_value_t</a> *val);
-00126
-00132 <a class="code" href="structapreq__value__t.html">apreq_value_t</a> * apreq_merge_values(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p,
-00133 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/structapr__array__header__t.html">apr_array_header_t</a> *arr);
+00119 <span class="preprocessor">#define apreq_attr_to_type(T,A,P) ( (T*) ((char*)(P)-offsetof(T,A)) )</span>
+00120 <span class="preprocessor"></span>
+00132 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a>) <a class="code" href="apreq_8h.html#a34">apreq_initialize</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *pool);
+00133
00134
-00139 APREQ_DECLARE(const <span class="keywordtype">char</span> *)apreq_enctype(<span class="keywordtype">void</span> *env);
-00140
-<a name="l00142"></a><a class="code" href="apreq_8h.html#a47">00142</a> typedef enum {
-00143 <a class="code" href="apreq_8h.html#a47a18">APREQ_JOIN_AS_IS</a>,
-00144 <a class="code" href="apreq_8h.html#a47a19">APREQ_JOIN_ENCODE</a>,
-00145 <a class="code" href="apreq_8h.html#a47a20">APREQ_JOIN_DECODE</a>,
-00146 <a class="code" href="apreq_8h.html#a47a21">APREQ_JOIN_QUOTE</a>
-00147 } <a class="code" href="apreq_8h.html#a47">apreq_join_t</a>;
-00148
-00158 APREQ_DECLARE(<span class="keyword">const</span> <span class="keywordtype">char</span> *) apreq_join(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p,
-00159 const <span class="keywordtype">char</span> *sep,
-00160 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/structapr__array__header__t.html">apr_array_header_t</a> *arr,
-00161 apreq_join_t mode);
-00162
-00163
-<a name="l00165"></a><a class="code" href="apreq_8h.html#a48">00165</a> typedef enum {
-00166 <a class="code" href="apreq_8h.html#a48a22">APREQ_MATCH_FULL</a>,
-00167 <a class="code" href="apreq_8h.html#a48a23">APREQ_MATCH_PARTIAL</a>
-00168 } <a class="code" href="apreq_8h.html#a48">apreq_match_t</a>;
-00169
-00179 APREQ_DECLARE(<span class="keywordtype">char</span> *) apreq_memmem(<span class="keywordtype">char</span>* hay, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> hlen,
-00180 const <span class="keywordtype">char</span>* ndl, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> nlen,
-00181 const apreq_match_t type);
-00182
-00193 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga8">apr_ssize_t</a>) apreq_index(const <span class="keywordtype">char</span>* hay, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> hlen,
-00194 const <span class="keywordtype">char</span>* ndl, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> nlen,
-00195 const apreq_match_t type);
-00206 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a>) apreq_quote(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src,
-00207 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen);
-00208
-00219 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a>) apreq_quote_once(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src,
-00220 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen);
-00221
-00230 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a>) apreq_encode(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src,
-00231 const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen);
-00232
-00242 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga8">apr_ssize_t</a>) apreq_decode(<span class="keywordtype">char</span> *dest, const <span class="keywordtype">char</span> *src, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen);
-00243
-00244
-00256 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a>) apreq_decodev(<span class="keywordtype">char</span> *d, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> *dlen,
-00257 struct iovec *v, <span class="keywordtype">int</span> nelts);
-00258
-00268 APREQ_DECLARE(<span class="keywordtype">char</span> *) apreq_escape(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p,
-00269 const <span class="keywordtype">char</span> *src, const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> slen);
-00270
-00278 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga8">apr_ssize_t</a>) apreq_unescape(<span class="keywordtype">char</span> *str);
-00279
-00280
-<a name="l00282"></a><a class="code" href="apreq_8h.html#a49">00282</a> typedef enum {
-00283 <a class="code" href="apreq_8h.html#a49a24">APREQ_EXPIRES_HTTP</a>,
-00284 <a class="code" href="apreq_8h.html#a49a25">APREQ_EXPIRES_NSCOOKIE</a>
-00285 } <a class="code" href="apreq_8h.html#a49">apreq_expires_t</a>;
-00286
-00302 APREQ_DECLARE(<span class="keywordtype">char</span> *) apreq_expires(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *p, const <span class="keywordtype">char</span> *time_str,
-00303 const apreq_expires_t type);
-00304
-00311 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga5">apr_int64_t</a>) apreq_atoi64f(const <span class="keywordtype">char</span> *s);
-00312
-00319 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga5">apr_int64_t</a>) apreq_atoi64t(const <span class="keywordtype">char</span> *s);
-00320
-00332 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a>) apreq_brigade_fwrite(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__file__io_8h.html#ga2">apr_file_t</a> *f,
-00333 <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga9">apr_off_t</a> *wlen,
-00334 <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket__brigade.html">apr_bucket_brigade</a> *bb);
-00347 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a>) apreq_file_mktemp(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__file__io_8h.html#ga2">apr_file_t</a> **fp,
-00348 <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__pools_8h.html#ga0">apr_pool_t</a> *pool,
-00349 const <span class="keywordtype">char</span> *path);
-00350
-00359 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__file__io_8h.html#ga2">apr_file_t</a> *) apreq_brigade_spoolfile(<a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket__brigade.html">apr_bucket_brigade</a> *bb);
-00360
-<a name="l00367"></a><a class="code" href="apreq_8h.html#a13">00367</a> #define APREQ_BRIGADE_SETASIDE(bb,p) do { \
-00368 <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/structapr__bucket.html">apr_bucket</a> *e; \
-00369 <span class="keywordflow">for</span> (e = <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/apr__buckets_8h.html#ga81">APR_BRIGADE_FIRST</a>(bb); e != <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/apr__buckets_8h.html#ga79">APR_BRIGADE_SENTINEL</a>(bb); \
-00370 e = <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/apr__buckets_8h.html#ga89">APR_BUCKET_NEXT</a>(e)) \
-00371 { \
-00372 <a class="codeRef" doxygen="apu.tag:http://apr.apache.org/docs/apr-util/" href="http://apr.apache.org/docs/apr-util/apr__buckets_8h.html#ga108">apr_bucket_setaside</a>(e, p); \
-00373 } \
-00374 } <span class="keywordflow">while</span> (0)
-00375
-00376
-<a name="l00384"></a><a class="code" href="apreq_8h.html#a14">00384</a> <span class="preprocessor">#define APREQ_BRIGADE_COPY(d,s) do { \</span>
-00385 <span class="preprocessor"> apr_bucket *e; \</span>
-00386 <span class="preprocessor"> for (e = APR_BRIGADE_FIRST(s); e != APR_BRIGADE_SENTINEL(s); \</span>
-00387 <span class="preprocessor"> e = APR_BUCKET_NEXT(e)) \</span>
-00388 <span class="preprocessor"> { \</span>
-00389 <span class="preprocessor"> apr_bucket *c; \</span>
-00390 <span class="preprocessor"> apr_bucket_copy(e, &c); \</span>
-00391 <span class="preprocessor"> APR_BRIGADE_INSERT_TAIL(d, c); \</span>
-00392 <span class="preprocessor"> } \</span>
-00393 <span class="preprocessor">} while (0)</span>
-00394 <span class="preprocessor"></span>
-00395
-00405 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr__errno_8h.html#ga0">apr_status_t</a>)
-00406 apreq_header_attribute(const <span class="keywordtype">char</span> *hdr,
-00407 const <span class="keywordtype">char</span> *name, const <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> nlen,
-00408 const <span class="keywordtype">char</span> **val, <a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/apr_8h.html#ga7">apr_size_t</a> *vlen);
-00409
-00410
-00411 #ifdef __cplusplus
-00412 }
-00413 #endif
-00414
-00415 #endif <span class="comment">/* APREQ_H */</span>
-</div></pre><div id="footer">
+00146 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a>) <a class="code" href="apreq_8h.html#a35">apreq_pre_initialize</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *pool);
+00147
+00155 APREQ_DECLARE(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__errno.html#ga0">apr_status_t</a>) <a class="code" href="apreq_8h.html#a36">apreq_post_initialize</a>(<a class="codeRef" doxygen="apr.tag:http://apr.apache.org/docs/apr/" href="http://apr.apache.org/docs/apr/group__apr__pools.html#ga0">apr_pool_t</a> *pool);
+00156
+00157
+00158 #ifdef __cplusplus
+00159 }
+00160 #endif
+00161
+00162 #endif <span class="comment">/* APREQ_H */</span>
+</pre></div><div id="footer">
<p class="apache">
-Copyright © 2003-2004 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
-See <a href="LICENSE.html">LICENSE</a>.</p>
+Copyright © 2003-2005 <a href="http://www.apache.org">The Apache Software Foundation</a>.<br/>
+See <a href="apreq_license.html">LICENSE</a>.</p>
<p class="menu">
<span style="color:#aaa">page generated by <a href="http://www.doxygen.org/"><code>doxygen</code></a>
-version 1.3.8 on 30 Aug 2004</span>
+version 1.4.2 on 4 May 2005</span>
</p>
</div>
</body>