Moved our headers into the per-version files above the Apache headers
[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 // SAML Runtime
12 #include <saml/saml.h>
13 #include <shib/shib.h>
14 #include <shib/shib-threads.h>
15 #include <shib-target/shib-target.h>
16 #include <xercesc/util/regx/RegularExpression.hpp>
17
18 // Apache specific header files
19 #include <httpd.h>
20 #include <http_config.h>
21 #include <http_protocol.h>
22 #include <http_main.h>
23 #define CORE_PRIVATE
24 #include <http_core.h>
25 #include <http_log.h>
26
27 #define SHIB_APACHE_13 1
28
29 #define SH_AP_POOL pool
30 #define SH_AP_TABLE table
31 #define SH_AP_CONFIGFILE configfile_t
32 #define SH_AP_R(r) r
33 #define SH_AP_USER(r) r->connection->user
34
35 #define apr_pool_userdata_setn(n,k,d,p)
36 #define apr_pool_cleanup_register(p1,p2,f,d)
37
38 #include "mod_apache.cpp"