Use shibboleth-sp as package name for compatibility.
[shibboleth/cpp-sp.git] / apache / mod_shib_13.cpp
1 /**
2  * Licensed to the University Corporation for Advanced Internet
3  * Development, Inc. (UCAID) under one or more contributor license
4  * agreements. See the NOTICE file distributed with this work for
5  * additional information regarding copyright ownership.
6  *
7  * UCAID licenses this file to you under the Apache License,
8  * Version 2.0 (the "License"); you may not use this file except
9  * in compliance with the License. You may obtain a copy of the
10  * License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing,
15  * software distributed under the License is distributed on an
16  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
17  * either express or implied. See the License for the specific
18  * language governing permissions and limitations under the License.
19  */
20
21 /* mod_shib_13.cpp -- a wrapper around the apache module code to
22  *                    build for Apache 1.3
23  *
24  * Created by:  Derek Atkins <derek@ihtfp.com>
25  *
26  */
27
28 #define SHIB_APACHE_13 1
29
30 #define SH_AP_POOL pool
31 #define SH_AP_TABLE table
32 #define SH_AP_CONFIGFILE configfile_t
33 #define SH_AP_R(r) r
34 #define SH_AP_USER(r) r->connection->user
35 #define SH_AP_AUTH_TYPE(r) r->connection->ap_auth_type
36
37 #ifdef WIN32
38 # define _USE_32BIT_TIME_T
39 #endif
40
41 #define apr_pool_userdata_setn(n,k,d,p)
42 #define apr_pool_cleanup_register(p1,p2,f,d)
43
44 #include "mod_shib.cpp"