Build apache modules from a common source.
[shibboleth/sp.git] / apache / mod_shib_13.cpp
1
2 /* mod_shib_13.cpp -- a wrapper around the apache module code to
3  *                    build for Apache 1.3
4  *
5  * Created by:  Derek Atkins <derek@ihtfp.com>
6  *
7  */
8
9 #undef _XPG4_2
10
11 // Apache specific header files
12 #include <httpd.h>
13 #include <http_config.h>
14 #include <http_protocol.h>
15 #include <http_main.h>
16 #define CORE_PRIVATE
17 #include <http_core.h>
18 #include <http_log.h>
19
20 #define SHIB_APACHE_13 1
21
22 #define SH_AP_POOL pool
23 #define SH_AP_TABLE table
24 #define SH_AP_CONFIGFILE configfile_t
25 #define SH_AP_R(r) r
26 #define SH_AP_USER(r) r->connection->user
27
28 #define apr_pool_userdata_setn(n,k,d,p)
29 #define apr_pool_cleanup_register(p1,p2,f,d)
30
31 #include "mod_apache.cpp"