1 /* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
19 * @brief APR-UTIL Compabitlity Functions
20 * @deprecated These functions are only present for historical purposes
25 * @defgroup APR_Util_compat 1.3 Compatibility Functions
31 /* Include the apr compatibility changes, since apr-util users are
34 #include "apr_compat.h"
36 /* --------------------------------------------------------------------
37 * redefine 1.3.x symbols to those that now live in libapr-util
39 /** @deprecated @see apr_base64_decode */
40 #define ap_base64decode apr_base64_decode
41 /** @deprecated @see apr_base64_decode_binary */
42 #define ap_base64decode_binary apr_base64_decode_binary
43 /** @deprecated @see apr_base64_decode_len */
44 #define ap_base64decode_len apr_base64_decode_len
45 /** @deprecated @see apr_base64_encode */
46 #define ap_base64encode apr_base64_encode
47 /** @deprecated @see apr_base64_encode_binary */
48 #define ap_base64encode_binary apr_base64_encode_binary
49 /** @deprecated @see apr_base64_encode_len */
50 #define ap_base64encode_len apr_base64_encode_len
51 /** @deprecated @see apr_hook_deregister_all */
52 #define ap_hook_deregister_all apr_hook_deregister_all
53 /** @deprecated @see apr_hook_sort_register */
54 #define ap_hook_sort_register apr_hook_sort_register
55 /** @deprecated @see apr_hook_debug_show */
56 #define ap_show_hook apr_hook_debug_show
58 /* --------------------------------------------------------------------
59 * the following symbols were moved from httpd-2.0/.../util_date.[ch]
61 /** @deprecated @see apr_date_parse_http */
62 #define ap_parseHTTPdate apr_date_parse_http
63 /** @deprecated @see apr_date_checkmask */
64 #define ap_checkmask apr_date_checkmask
66 /* --------------------------------------------------------------------
67 * the following symbols were moved from httpd-2.0/.../util_xml.[ch]
69 /** @deprecated @see apr_text */
70 #define ap_text apr_text
71 /** @deprecated @see apr_text_header */
72 #define ap_text_header apr_text_header
73 /** @deprecated @see apr_text_append */
74 #define ap_text_append apr_text_append
76 /** @deprecated @see APR_XML_NS_DAV_ID */
77 #define AP_XML_NS_DAV_ID APR_XML_NS_DAV_ID
78 /** @deprecated @see APR_XML_NS_NONE */
79 #define AP_XML_NS_NONE APR_XML_NS_NONE
80 /** @deprecated @see APR_XML_NS_ERROR_BASE */
81 #define AP_XML_NS_ERROR_BASE APR_XML_NS_ERROR_BASE
82 /** @deprecated @see APR_XML_NS_IS_ERROR */
83 #define AP_XML_NS_IS_ERROR(e) APR_XML_NS_IS_ERROR(e)
84 /** @deprecated @see APR_XML_ELEM_IS_EMPTY */
85 #define AP_XML_ELEM_IS_EMPTY(e) APR_XML_ELEM_IS_EMPTY(e)
87 /** @deprecated @see apr_xml_attr */
88 #define ap_xml_attr apr_xml_attr
89 /** @deprecated @see apr_xml_elem */
90 #define ap_xml_elem apr_xml_elem
91 /** @deprecated @see apr_xml_doc */
92 #define ap_xml_doc apr_xml_doc
94 /** @deprecated @see apr_xml_to_text */
95 #define ap_xml_to_text apr_xml_to_text
96 /** @deprecated @see APR_XML_X2T_FULL */
97 #define AP_XML_X2T_FULL APR_XML_X2T_FULL
98 /** @deprecated @see APR_XML_X2T_INNER */
99 #define AP_XML_X2T_INNER APR_XML_X2T_INNER
100 /** @deprecated @see APR_XML_X2T_LANG_INNER */
101 #define AP_XML_X2T_LANG_INNER APR_XML_X2T_LANG_INNER
102 /** @deprecated @see APR_XML_X2T_FULL_NS_LANG */
103 #define AP_XML_X2T_FULL_NS_LANG APR_XML_X2T_FULL_NS_LANG
105 /** @deprecated @see apr_xml_empty_elem */
106 #define ap_xml_empty_elem apr_xml_empty_elem
107 /** @deprecated @see apr_xml_quote_string */
108 #define ap_xml_quote_string apr_xml_quote_string
109 /** @deprecated @see apr_xml_quote_elem */
110 #define ap_xml_quote_elem apr_xml_quote_elem
111 /** @deprecated @see apr_xml_insert_uri */
112 #define ap_xml_insert_uri apr_xml_insert_uri
113 /** @deprecated @see APR_XML_GET_URI_ITEM */
114 #define AP_XML_GET_URI_ITEM(a,i) APR_XML_GET_URI_ITEM(a,i)
116 #endif /* APU_COMPAT_H */