Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 3976 invoked from network); 4 May 2005 17:50:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 May 2005 17:50:26 -0000 Received: (qmail 16505 invoked by uid 500); 4 May 2005 17:50:19 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 16452 invoked by uid 500); 4 May 2005 17:50:16 -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 16315 invoked by uid 99); 4 May 2005 17:50:12 -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 10:50:10 -0700 Received: (qmail 96522 invoked by uid 65534); 4 May 2005 17:40:41 -0000 Message-ID: <20050504174041.96520.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r168155 [19/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 Added: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__module_8h.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapr= eq2/apreq__module_8h.html?rev=3D168155&view=3Dauto =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__module_8h.html (adde= d) +++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__module_8h.html Wed M= ay 4 10:40:10 2005 @@ -0,0 +1,1328 @@ + + + + libapreq2-2.05-dev: libapreq2: include/apreq_module.h File Refere= nce=20 + + +
+

+ Apache Software Foundation > = HTTP Server Project > +Request Library Subproject<= /p> +

Apache HTTP Server Request Library

+3D""
+ + + +

apreq_module.h File Reference

Module API. Mo= re... +

+#include "apre= q_cookie.h"
+#include "apre= q_parser.h"
+#include "apreq= _error.h"
+ +

+Go to the source code of this fil= e=2E + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<= /tr> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Defines

#defin= e APREQ_MODULE(pre, mmn)
#defin= e apreq_cookie(req, name)  &nbs= p;apreq_jar_get(req, name)

Typedefs

typede= f apreq_handle_t&n= bsp;apreq_handle_t
+typedef apreq_module_= t apreq_module_t
 Vtable des= cribing the necessary environment functions.

Functions

static= APR_INL= INE unsigned apreq_module_status_is_error= (apr_s= tatus_t s)
static= APR_INL= INE apr= _status_t apreq_jar (apreq_handle_t *req, const apr_table_t *= *t)
static= APR_INL= INE apr= _status_t apreq_args (apreq_handle_t *req, const apr_table_t = **t)
static= APR_INL= INE apr= _status_t apreq_body (apreq_handle_t *req, const apr_table_t = **t)
static= APR_INL= INE apreq_cookie_t= apreq_jar_get (apreq_handle_t *req, const char *name= )
static= APR_INL= INE apreq_param_tapreq_args_get (apreq_handle_t *req, const char *name)=
static= APR_INL= INE apreq_param_tapreq_body_get (apreq_handle_t *req, const char *name= )
static= APR_INL= INE apr= _status_t apreq_parser_get (apreq_handle_t *req, const= apreq_parser_t **= parser)
static= APR_INL= INE apr= _status_t apreq_parser_set (apreq_handle_t *req, apreq_parser_t *parser)=
static= APR_INL= INE apr= _status_t apreq_hook_add (apreq_handle_t *req, apreq_hook_t *hook)
static= APR_INL= INE apr= _status_t apreq_brigade_limit_set (<= a class=3D"el" href=3D"structapreq__handle__t.html">apreq_handle_t *req= , apr_si= ze_t bytes)
static= APR_INL= INE apr= _status_t apreq_brigade_limit_get (<= a class=3D"el" href=3D"structapreq__handle__t.html">apreq_handle_t *req= , apr_si= ze_t *bytes)
static= APR_INL= INE apr= _status_t apreq_read_limit_set (apreq_handle_t *req, <= 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#gga6">apr_uint= 64_t bytes)
static= APR_INL= INE apr= _status_t apreq_read_limit_get (apreq_handle_t *req, <= 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#gga6">apr_uint= 64_t *bytes)
static= APR_INL= INE apr= _status_t apreq_temp_dir_set (apreq_handle_t *req, con= st char *path)
static= APR_INL= INE apr= _status_t apreq_temp_dir_get (apreq_handle_t *req, con= st char **path)
apreq_handle_tapreq_handle_cgi (apr_pool_t *pool)
apreq_handle_tapreq_handle_custom (apr_pool_t *pool, const char *que= ry_string, const char *cookie, apreq_parser_t *parser, apr_uint64_t read_limit, apr_bucket_bri= gade *in)
apr_status_t&= nbsp;apreq_cookie_bake (const apreq_cookie_t *c, apreq_handle_t *req)
apr_status_t&= nbsp;apreq_cookie_bake2 (const apreq_cookie_t *c, apreq_handle_t *req)
unsign= ed apreq_ua_cookie_version (apreq_handle_t *req)
apreq_param_tapreq_param (apreq_handle_t *req, const char *key)
apr_table_t = * apreq_params (apreq_handle_t *req, apr_pool_t *p)
apr_table_t = * apreq_cookies (apreq_handle_t *req, apr_pool_t *p)
static= APR_INL= INE apr= _status_t apreq_parse (apreq_handle_t *req)
+


Detailed Description

+Module API.=20 +

+


Define Documentation

+<= /a>

+ + + + +
+ + + + + + + + + + + + +
#define apreq_cookie = req,
name   )    apreq_jar_get(req, nam= e)
+
+ + + + + +
+   + + +

+Find the first cookie with the specified name. The match is case-insensiti= ve.

+

Parameters:
+ + = + = +
req request handle.
key desired cookie name
+
+
Returns:
The first matching parameter (with= args searched first) or NULL.
+
+
<= /a>

+ + + + +
+ + + + + + + + + + + + +
#define APREQ_MODULE = pre,
mmn   ) 
+
+ + + + + +
+   + + +

+Value:

const apreq_module_t     \
+  pre##_module =3D { #pre, mmn,                           \
+  pre##_jar,        pre##_args,       pre##_body,       \
+  pre##_jar_get,    pre##_args_get,   pre##_body_get,   \
+  pre##_parser_get, pre##_parser_set, pre##_hook_add,   \
+  pre##_brigade_limit_get, pre##_brigade_limit_set,     \
+  pre##_read_limit_get,    pre##_read_limit_set,        \
+  pre##_temp_dir_get,      pre##_temp_dir_set,          \
+  }
+
Convenience macro for defining a module by mapping a function = prefix to an associated apreq_module_t structure.

+

Parameters:
+ + = + = +
pre Prefix to define new environment. All attributes of the apreq_env_modul= e_t struct are defined with this as their prefix. The generated struct is n= amed by appending "_module" to the prefix.
mmn Magic number (i.e. version number) of this environment.
+
+
+


Typedef Documentation

+

+ + + + +
+ + + +
typedef struct apreq_handle_t apreq_handle_t +
+
+ + + + +
+   + + +

+An apreq handle associated with a module. The structure may have variable = size, because the module may append its own data structures after it. <= /td> +

+


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _args apreq_handle_t req,
const apr_table_t **  t
[static]
+
+ + + + + +
+   + + +

+Expose the parsed "query string" associated to this handle.

+

Parameters:
+ + = + The resulting table, which will either be NULL or a valid table object on= return. +
req The request handle
t 
+
+
Returns:
APR_SUCCESS or a module-specific e= rror status code.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apreq_param_t* apreq_args_get = apreq_handle_t req,
const char *  name
[static]
+
+ + + + + +
+   + + +

+Fetch the first query string param with the given name.

+

Parameters:
+ + = + +
req The request handle
name Case-insensitive param name.
+
+
Returns:
First matching param, or NULL if n= one match.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _body apreq_handle_t req,
const apr_table_t **  t
[static]
+
+ + + + + +
+   + + +

+Expose the parsed "request body" associated to this handle.

+

Parameters:
+ + = + The resulting table, which will either be NULL or a valid table object on= return. +
req The request handle
t 
+
+
Returns:
APR_SUCCESS or a module-specific e= rror status code.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apreq_param_t* apreq_body_get = apreq_handle_t req,
const char *  name
[static]
+
+ + + + + +
+   + + +

+Fetch the first body param with the given name.

+

Parameters:
+ + = + +
req The request handle
name Case-insensitive cookie name.
+
+
Returns:
First matching param, or NULL if n= one match.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _brigade_limit_get apreq_handle_t req,
apr_size_t bytes
[static]
+
+ + + + + +
+   + + +

+Get the active brigade limit.

+

Parameters:
+ + = + +
req The handle.
bytes Pointer to resulting (current) limit.
+
+
Returns:
APR_SUCCESS or a module-specific e= rror, which may leave bytes undefined.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _brigade_limit_set apreq_handle_t req,
apr_size_t  bytes
[static]
+
+ + + + + +
+   + + +

+Set the active brigade limit.

+

Parameters:
+ + = + +
req The handle.
bytes New limit to use.
+
+
Returns:
APR_SUCCESS or module-specific err= or.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
apr_status_t apreq_cookie_bake = const apreq_cookie_t c,
apreq_handle_t req
+
+ + + + + +
+   + + +

+Add the cookie to the outgoing "Set-Cookie" headers.

+

Parameters:
+ + The cookie. + = +
c 
req The request handle which set the outgoing header.
+
+
Returns:
APR_SUCCESS or error.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
apr_status_t apreq_cookie_bake2 = const apreq_cookie_t c,
apreq_handle_t req
+
+ + + + + +
+   + + +

+Add the cookie to the outgoing "Set-Cookie2" headers.

+

Parameters:
+ + cookie + = +
c 
req request handle
+
+
Returns:
APR_SUCCESS or error.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
apr_table_t* apreq_cookies = apreq_handle_t req,
apr_pool_t p
+
+ + + + + +
+   + + +

+Returns a table containing all request cookies.

+

Parameters:
+ + = + Allocates the returned table. +
req the apreq request handle
p 
+
+
+

+ + + + +
+ + + + + + + + + +
apreq_handle_t* apreq_handle_cgi = apr_pool_t pool =  ) 
+
+ + + + + +
+   + + +

+Create an apreq handle which is suitable for a CGI program. It reads input= from stdin and writes output to stdout.

+

Parameters:
+ + +
pool Pool associated to this handle.
+
+
Returns:
New handle; can only be NULL if th= e pool allocation failed.
+
Remarks:
The handle gets cached in the pool= 's userdata, so subsequent calls will retrieve the original cached handle. =
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
apreq_handle_t* apreq_handle_custom = apr_pool_t pool,
const char *  query_string,
const char *  cookie,
apreq_parser_t parser,
apr_uint64_t  read_limit,
apr_bucket_brigade in
+
+ + + + + +
+   + + +

+Create a custom apreq handle which knows only some static values. Useful i= f you want to test the parser code or if you have got data from a custom so= urce (neither Apache 2 nor CGI).

+

Parameters:
+ + + + + + + <= td>brigade containing the request body +
pool allocates the parse data,
query_string&n= bsp;parsed into args table
cookie value of the request "Cookie" header
parser parses the request body
read_limit&nbs= p;maximum bytes to read from the body
in 
+
+
Returns:
new handle; can only be NULL if th= e pool allocation failed.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _hook_add apreq_handle_t req,
apreq_hook_t hook
[static]
+
+ + + + + +
+   + + +

+Add a parser hook for this request.

+

Parameters:
+ + = + +
req The request handle
hook Hook to add.
+
+
Returns:
APR_SUCCESS or module-specific err= or.
+
+=

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _jar apreq_handle_t req,
const apr_table_t **  t
[static]
+
+ + + + + +
+   + + +

+Expose the parsed "cookie" header associated to this handle.

+

Parameters:
+ + = + The resulting table, which will either be NULL or a valid table object on= return. +
req The request handle
t 
+
+
Returns:
APR_SUCCESS or a module-specific e= rror status code.
+
+=

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apreq_cookie_t* apreq_jar_get= apreq_handle_t req,
const char *  name
[static]
+
+ + + + + +
+   + + +

+Fetch the first cookie with the given name.

+

Parameters:
+ + = + +
req The request handle
name Case-insensitive cookie name.
+
+
Returns:
First matching cookie, or NULL if = none match.
+
+

+ + + + +
+ + + + + + + + + +
static APR_INLINE unsigned ap= req_module_status_is_error apr_status_t  s =  )  [static]
+
+ + + + + +
+   + + +

+Defines the module-specific status codes which are commonly considered to = be non-fatal.

+

Parameters:
+ + status code returned by an apreq_module_t method. +
s 
+
+
Returns:
1 if s is fatal, 0 otherwise.
+
+<= /a>

+ + + + +
+ + + + + + + + + + + + + + + + + + +
apreq_param_t* apreq_param apreq_handle_t req,
const char *  key
+
+ + + + + +
+   + + +

+Find the first query string parameter or body parameter with the specified= name. The match is case-insensitive.

+

Parameters:
+ + = + = +
req request handle.
key desired parameter name
+
+
Returns:
The first matching parameter (with= args searched first) or NULL.
+
+
=

+ + + + +
+ + + + + + + + + + + + + + + + + + +
apr_table_t* apreq_params = apreq_handle_t req,
apr_pool_t p
+
+ + + + + +
+   + + +

+Returns a table containing key-value pairs for the full request (args + bo= dy).

+

Parameters:
+ + = + allocates the returned table. +
req request handle
p 
+
+
Returns:
table representing all available p= arams; is never NULL.
+
+<= /a>

+ + + + +
+ + + + + + + + + +
static APR_INLINE apr_status_t apreq= _parse apreq_handle_t req =  )  [static]
+
+ + + + + +
+   + + +

+Force a complete parse of everything.

+

Parameters:
+ + = +
req The request handle
+
+
Returns:
APR_SUCCESS on an error-free parse= of the request data. Any other status code indicates a potential problem s= omewhere.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _parser_get apreq_handle_t req,
const apreq_parser_t **  parser
[static]
+
+ + + + + +
+   + + +

+Fetch the active body parser.

+

Parameters:
+ + = + +
req The request handle
parser Points to the active parser on return.
+
+
Returns:
APR_SUCCESS or module-specific err= or.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _parser_set apreq_handle_t req,
apreq_parser_t parser
[static]
+
+ + + + + +
+   + + +

+Set the body parser for this request.

+

Parameters:
+ + = + +
req The request handle
parser New parser to use.
+
+
Returns:
APR_SUCCESS or module-specific err= or.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _read_limit_get apreq_handle_t req,
apr_uint64_t bytes
[static]
+
+ + + + + +
+   + + +

+Get the active read limit.

+

Parameters:
+ + = + +
req The request handle.
bytes Pointer to resulting (current) limit.
+
+
Returns:
APR_SUCCESS or a module-specific e= rror, which may leave bytes undefined.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _read_limit_set apreq_handle_t req,
apr_uint64_t  bytes
[static]
+
+ + + + + +
+   + + +

+Set the active read limit.

+

Parameters:
+ + = + +
req The handle.
bytes New limit to use.
+
+
Returns:
APR_SUCCESS or a module-specific e= rror.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _temp_dir_get apreq_handle_t req,
const char **  path
[static]
+
+ + + + + +
+   + + +

+Get the active temp directory.

+

Parameters:
+ + = + +
req The handle.
path Resulting path to temp dir.
+
+
Returns:
APR_SUCCESS implies path is valid,= but may also be NULL. Any other return value is module-specific, and may l= eave path undefined.
+
+

+ + + + +
+ + + + + + + + + + + + + + + + + + +
static APR_INLINE apr_status_t apreq= _temp_dir_set apreq_handle_t req,
const char *  path
[static]
+
+ + + + + +
+   + + +

+Set the active temp directory.

+

Parameters:
+ + = + +
req The handle.
path New path to use; may be NULL.
+
+
Returns:
APR_SUCCESS or a module-specific e= rror .
+
+

+ + + + +
+ + + + + + + + + +
unsigned apreq_ua_cookie_= version apreq_handle_t req =  ) 
+
+ + + + + +
+   + + +

+Looks for the presence of a "Cookie2" header to determine whether or not t= he current User-Agent responsible for this request supports rfc2965.

+

Parameters:
+ + = +
req the apreq request handle
+
+
Returns:
::APREQ_COOKIE_VERSION_RFC if rfc2= 965 is supported by the user-agent, ::APREQ_COOKIE_VERSION_NETSCAPE otherwi= se.
+
+

+

+Copyright © 2003-2005 The Apache So= ftware Foundation.
+See LICENSE.

+

+page generated by doxygen +version 1.4.2 on 4 May 2005 +

+
+ + Added: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__module__apache2_8= h-source.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapr= eq2/apreq__module__apache2_8h-source.html?rev=3D168155&view=3Dauto =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__module__apache2_8h-s= ource.html (added) +++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__module__apache2_8h-s= ource.html Wed May 4 10:40:10 2005 @@ -0,0 +1,61 @@ + + + + libapreq2-2.05-dev: libapreq2: module/apache2/apreq_module_apache= 2=2Eh Source File=20 + + +
+

+ Apache Software Foundation > = HTTP Server Project > +Request Library Subproject<= /p> +

Apache HTTP Server Request Library

+3D""
+ + + +

apreq_module_apache2.h

00001 /*
+00002 **  Copyright 2003-2005  The Apache Software=
 Foundation
+00003 **
+00004 **  Licensed under the Apache License, Versi=
on 2.0 (the "License");
+00005 **  you may not use this file except in comp=
liance with the License.
+00006 **  You may obtain a copy of the License at<=
/span>
+00007 **
+00008 **      http://www.apache.org/licenses/LICEN=
SE-2.0
+00009 **
+00010 **  Unless required by applicable law or agr=
eed to in writing, software
+00011 **  distributed under the License is distrib=
uted on an "AS IS" BASIS,
+00012 **  WITHOUT WARRANTIES OR CONDITIONS OF ANY =
KIND, either express or implied.
+00013 **  See the License for the specific languag=
e governing permissions and
+00014 **  limitations under the License.
+00015 */
+00016=20
+00017 #ifndef APREQ_APACHE2_H
+00018 #de=
fine APREQ_APACHE2_H
+00019 
+00020 #include "apreq_module.h"
+00021 #include <httpd.h>
+00022=20
+00023 #ifdef  __cplusplus
+00024  extern<=
/span> "C" {
+00025 #endif
+00026 
+00027=20
+00140 APREQ_DECLARE(apreq_handle_t*) apreq_handle_apache2(request_rec *r);
+00141=20
+00144 #ifdef __cplusplus
+00145  }
+00146 #endif
+00147=20
+00148 #endif
+
+

+Copyright © 2003-2005 The Apache So= ftware Foundation.
+See LICENSE.

+

+page generated by doxygen +version 1.4.2 on 4 May 2005 +

+
+ + Added: httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__module__apache_8h= -source.html URL: http://svn.apache.org/viewcvs/httpd/site/trunk/xdocs/apreq/docs/libapr= eq2/apreq__module__apache_8h-source.html?rev=3D168155&view=3Dauto =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__module__apache_8h-so= urce.html (added) +++ httpd/site/trunk/xdocs/apreq/docs/libapreq2/apreq__module__apache_8h-so= urce.html Wed May 4 10:40:10 2005 @@ -0,0 +1,66 @@ + + + + libapreq2-2.05-dev: libapreq2: module/apache/apreq_module_apache.= h Source File=20 + + +
+

+ Apache Software Foundation > = HTTP Server Project > +Request Library Subproject<= /p> +

Apache HTTP Server Request Library

+3D""
+ + + +

apreq_module_apache.h

00001 /*
+00002 **  Copyright 2003-2005  The Apache Software=
 Foundation
+00003 **
+00004 **  Licensed under the Apache License, Versi=
on 2.0 (the "License");
+00005 **  you may not use this file except in comp=
liance with the License.
+00006 **  You may obtain a copy of the License at<=
/span>
+00007 **
+00008 **      http://www.apache.org/licenses/LICEN=
SE-2.0
+00009 **
+00010 **  Unless required by applicable law or agr=
eed to in writing, software
+00011 **  distributed under the License is distrib=
uted on an "AS IS" BASIS,
+00012 **  WITHOUT WARRANTIES OR CONDITIONS OF ANY =
KIND, either express or implied.
+00013 **  See the License for the specific languag=
e governing permissions and
+00014 **  limitations under the License.
+00015 */
+00016=20
+00017 #ifndef APREQ_APACHE_H
+00018 #de=
fine APREQ_APACHE_H
+00019 
+00020 #include "apreq_module.h"
+00021 #include <httpd.h>
+00022=20
+00023 #ifdef  __cplusplus
+00024  extern<=
/span> "C" {
+00025 #endif
+00026 
+00031 APREQ_DECLARE(apreq_handle_t*) apreq_handle_apache(request_rec *r);
+00032=20
+00033=20
+00034 APREQ_DECLARE(apr_pool_t *) apreq_handle_apache_pool(apreq_handle_t *req);
+00035=20
+00036 APREQ_DECLARE(apr_bucket_alloc_t *)
+00037     apreq_handle_apache_bucket_alloc(apreq_handle_t *req);
+00038=20
+00039 #ifdef __cplusplus
+00040  }
+00041 #endif
+00042=20
+00043 #endif
+
+

+Copyright © 2003-2005 The Apache So= ftware Foundation.
+See LICENSE.

+

+page generated by doxygen +version 1.4.2 on 4 May 2005 +

+
+ +