summaryrefslogtreecommitdiffstats
path: root/rubbos/app/apache2/include/apu_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'rubbos/app/apache2/include/apu_compat.h')
-rw-r--r--rubbos/app/apache2/include/apu_compat.h116
1 files changed, 116 insertions, 0 deletions
diff --git a/rubbos/app/apache2/include/apu_compat.h b/rubbos/app/apache2/include/apu_compat.h
new file mode 100644
index 00000000..533f4945
--- /dev/null
+++ b/rubbos/app/apache2/include/apu_compat.h
@@ -0,0 +1,116 @@
+/* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
+ * applicable.
+ *
+ * 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.
+ */
+
+/**
+ * @file apu_compat.h
+ * @brief APR-UTIL Compabitlity Functions
+ * @deprecated These functions are only present for historical purposes
+ */
+#ifndef APU_COMPAT_H
+#define APU_COMPAT_H
+/**
+ * @defgroup APR_Util_compat 1.3 Compatibility Functions
+ * @ingroup APR_Util
+ * @{
+ */
+
+
+/* Include the apr compatibility changes, since apr-util users are
+ * always apr users.
+ */
+#include "apr_compat.h"
+
+/* --------------------------------------------------------------------
+ * redefine 1.3.x symbols to those that now live in libapr-util
+ */
+/** @deprecated @see apr_base64_decode */
+#define ap_base64decode apr_base64_decode
+/** @deprecated @see apr_base64_decode_binary */
+#define ap_base64decode_binary apr_base64_decode_binary
+/** @deprecated @see apr_base64_decode_len */
+#define ap_base64decode_len apr_base64_decode_len
+/** @deprecated @see apr_base64_encode */
+#define ap_base64encode apr_base64_encode
+/** @deprecated @see apr_base64_encode_binary */
+#define ap_base64encode_binary apr_base64_encode_binary
+/** @deprecated @see apr_base64_encode_len */
+#define ap_base64encode_len apr_base64_encode_len
+/** @deprecated @see apr_hook_deregister_all */
+#define ap_hook_deregister_all apr_hook_deregister_all
+/** @deprecated @see apr_hook_sort_register */
+#define ap_hook_sort_register apr_hook_sort_register
+/** @deprecated @see apr_hook_debug_show */
+#define ap_show_hook apr_hook_debug_show
+
+/* --------------------------------------------------------------------
+ * the following symbols were moved from httpd-2.0/.../util_date.[ch]
+ */
+/** @deprecated @see apr_date_parse_http */
+#define ap_parseHTTPdate apr_date_parse_http
+/** @deprecated @see apr_date_checkmask */
+#define ap_checkmask apr_date_checkmask
+
+/* --------------------------------------------------------------------
+ * the following symbols were moved from httpd-2.0/.../util_xml.[ch]
+ */
+/** @deprecated @see apr_text */
+#define ap_text apr_text
+/** @deprecated @see apr_text_header */
+#define ap_text_header apr_text_header
+/** @deprecated @see apr_text_append */
+#define ap_text_append apr_text_append
+
+/** @deprecated @see APR_XML_NS_DAV_ID */
+#define AP_XML_NS_DAV_ID APR_XML_NS_DAV_ID
+/** @deprecated @see APR_XML_NS_NONE */
+#define AP_XML_NS_NONE APR_XML_NS_NONE
+/** @deprecated @see APR_XML_NS_ERROR_BASE */
+#define AP_XML_NS_ERROR_BASE APR_XML_NS_ERROR_BASE
+/** @deprecated @see APR_XML_NS_IS_ERROR */
+#define AP_XML_NS_IS_ERROR(e) APR_XML_NS_IS_ERROR(e)
+/** @deprecated @see APR_XML_ELEM_IS_EMPTY */
+#define AP_XML_ELEM_IS_EMPTY(e) APR_XML_ELEM_IS_EMPTY(e)
+
+/** @deprecated @see apr_xml_attr */
+#define ap_xml_attr apr_xml_attr
+/** @deprecated @see apr_xml_elem */
+#define ap_xml_elem apr_xml_elem
+/** @deprecated @see apr_xml_doc */
+#define ap_xml_doc apr_xml_doc
+
+/** @deprecated @see apr_xml_to_text */
+#define ap_xml_to_text apr_xml_to_text
+/** @deprecated @see APR_XML_X2T_FULL */
+#define AP_XML_X2T_FULL APR_XML_X2T_FULL
+/** @deprecated @see APR_XML_X2T_INNER */
+#define AP_XML_X2T_INNER APR_XML_X2T_INNER
+/** @deprecated @see APR_XML_X2T_LANG_INNER */
+#define AP_XML_X2T_LANG_INNER APR_XML_X2T_LANG_INNER
+/** @deprecated @see APR_XML_X2T_FULL_NS_LANG */
+#define AP_XML_X2T_FULL_NS_LANG APR_XML_X2T_FULL_NS_LANG
+
+/** @deprecated @see apr_xml_empty_elem */
+#define ap_xml_empty_elem apr_xml_empty_elem
+/** @deprecated @see apr_xml_quote_string */
+#define ap_xml_quote_string apr_xml_quote_string
+/** @deprecated @see apr_xml_quote_elem */
+#define ap_xml_quote_elem apr_xml_quote_elem
+/** @deprecated @see apr_xml_insert_uri */
+#define ap_xml_insert_uri apr_xml_insert_uri
+/** @deprecated @see APR_XML_GET_URI_ITEM */
+#define AP_XML_GET_URI_ITEM(a,i) APR_XML_GET_URI_ITEM(a,i)
+/** @} */
+#endif /* APU_COMPAT_H */