]> granicus.if.org Git - apache/blob - include/util_charset.h
Onward to 2.1.6-dev!
[apache] / include / util_charset.h
1 /* Copyright 2000-2005 The Apache Software Foundation or its licensors, as
2  * applicable.
3  *
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
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  */
16
17 #ifndef APACHE_UTIL_CHARSET_H
18 #define APACHE_UTIL_CHARSET_H
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 /**
25  * @package charset conversion
26  */
27 #include "apr.h"
28
29 #if APR_CHARSET_EBCDIC
30
31 #include "apr_xlate.h"
32
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;
41
42 #endif  /* APR_CHARSET_EBCDIC */
43     
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif  /* !APACHE_UTIL_CHARSET_H */