Fix backslashes in SHIBSP_PREFIX variable by manually creating it during the script...
[shibboleth/sp.git] / apache / mod_shib_13.cpp
1 /*
2  *  Copyright 2001-2007 Internet2
3  * 
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 /* mod_shib_13.cpp -- a wrapper around the apache module code to
18  *                    build for Apache 1.3
19  *
20  * Created by:  Derek Atkins <derek@ihtfp.com>
21  *
22  */
23
24 #define SHIB_APACHE_13 1
25
26 #define SH_AP_POOL pool
27 #define SH_AP_TABLE table
28 #define SH_AP_CONFIGFILE configfile_t
29 #define SH_AP_R(r) r
30 #define SH_AP_USER(r) r->connection->user
31
32 #ifdef WIN32
33 # define _USE_32BIT_TIME_T
34 #endif
35
36 #define apr_pool_userdata_setn(n,k,d,p)
37 #define apr_pool_cleanup_register(p1,p2,f,d)
38
39 #include "mod_apache.cpp"