Fix backslashes in SHIBSP_PREFIX variable by manually creating it during the script...
[shibboleth/sp.git] / apache / mod_shib_20.cpp
index df5f68d..065b24e 100644 (file)
@@ -1,3 +1,18 @@
+/*
+ *  Copyright 2001-2007 Internet2
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 /* mod_shib_20.cpp -- a wrapper around the apache module code to
  *                   build for Apache 2.0
 #define ap_pstrcat apr_pstrcat
 #define ap_psprintf apr_psprintf
 #define ap_table_get apr_table_get
+#define ap_table_add apr_table_add
+#define ap_table_addn apr_table_addn
 #define ap_table_setn apr_table_setn
 #define ap_table_unset apr_table_unset
 #define ap_table_set apr_table_set
 #define ap_clear_pool apr_pool_clear
 #define ap_destroy_pool apr_pool_destroy
 #define ap_make_table apr_table_make
+#define ap_copy_table apr_table_copy
+#define ap_overlay_tables apr_table_overlay
+#define ap_overlap_tables apr_table_overlap
+#define ap_table_elts apr_table_elts
+#define ap_is_empty_table apr_is_empty_table
+#define AP_OVERLAP_TABLES_SET APR_OVERLAP_TABLES_SET
 
 #define ap_send_http_header(r)
 #define ap_hard_timeout(str,r)
+#define ap_reset_timeout(r)
 #define ap_kill_timeout(r)
 
 #include "mod_apache.cpp"