libapreq2-2.17: module/apache2/apreq_module_apache2.h Source File

Apache HTTP Server Request Library

apreq_module_apache2.h
1 /*
2 ** Licensed to the Apache Software Foundation (ASF) under one or more
3 ** contributor license agreements. See the NOTICE file distributed with
4 ** this work for additional information regarding copyright ownership.
5 ** The ASF licenses this file to You under the Apache License, Version 2.0
6 ** (the "License"); you may not use this file except in compliance with
7 ** the License. You may obtain a copy of the License at
8 **
9 ** http://www.apache.org/licenses/LICENSE-2.0
10 **
11 ** Unless required by applicable law or agreed to in writing, software
12 ** distributed under the License is distributed on an "AS IS" BASIS,
13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ** See the License for the specific language governing permissions and
15 ** limitations under the License.
16 */
17
18 #ifndef APREQ_APACHE2_H
19 #define APREQ_APACHE2_H
20
21 #include "apreq_module.h"
22 #include "apr_optional.h"
23 #include <httpd.h>
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29
142 APREQ_DECLARE(apreq_handle_t *) apreq_handle_apache2(request_rec *r);
143
148 #ifdef WIN32
149 typedef __declspec(dllexport) apreq_handle_t *
150 (__stdcall apr_OFN_apreq_handle_apache2_t) (request_rec *r);
151 #else
152 APR_DECLARE_OPTIONAL_FN(APREQ_DECLARE(apreq_handle_t *),
153 apreq_handle_apache2, (request_rec *r));
154 #endif
155
166 #define APREQ_FILTER_NAME "apreq2"
167
174 #define APREQ_APACHE2_MMN 20101207
175
178 #ifdef __cplusplus
179 }
180 #endif
181
182 #endif
APREQ_DECLARE
#define APREQ_DECLARE(d)
Definition: apreq.h:50
apreq_module.h
Module API.
apreq_handle_apache2
apreq_handle_t * apreq_handle_apache2(request_rec *r)
apreq_handle_t
Definition: apreq_module.h:41