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.
17 #ifndef APACHE_UTIL_CHARSET_H
18 #define APACHE_UTIL_CHARSET_H
25 * @package charset conversion
29 #if APR_CHARSET_EBCDIC
31 #include "apr_xlate.h"
33 /** On EBCDIC machine this is a translation handle used to translate the
34 * headers from the local machine format to ASCII for network transmission.
35 * On an ASCII machine this is NULL */
36 extern apr_xlate_t *ap_hdrs_to_ascii;
37 /** On EBCDIC machine this is a translation handle used to translate the
38 * headers from ASCII to the local machine format after network transmission.
39 * On an ASCII machine this is NULL */
40 extern apr_xlate_t *ap_hdrs_from_ascii;
42 #endif /* APR_CHARSET_EBCDIC */
48 #endif /* !APACHE_UTIL_CHARSET_H */