2 * This file was automatically generated mkdeps.pl script. Don't edit.
10 #include "../lib/encnames.h"
11 #include "../lib/ucsconv.h"
14 * Enable CES converter if correspondent encoding is requested.
15 * Defining ICONV_TO_UCS_CES_XXX macro or ICONV_FROM_UCS_CES_XXX
16 * macro is needed to enable "XXX encoding -> UCS" or "UCS -> XXX encoding"
17 * part of UCS-based CES converter.
19 #if defined (_ICONV_FROM_ENCODING_EUC_JP) \
20 || defined (_ICONV_FROM_ENCODING_EUC_KR) \
21 || defined (_ICONV_FROM_ENCODING_EUC_TW)
22 # define ICONV_TO_UCS_CES_EUC
24 #if defined (_ICONV_TO_ENCODING_EUC_JP) \
25 || defined (_ICONV_TO_ENCODING_EUC_KR) \
26 || defined (_ICONV_TO_ENCODING_EUC_TW)
27 # define ICONV_FROM_UCS_CES_EUC
30 #if defined (_ICONV_FROM_ENCODING_CP775) \
31 || defined (_ICONV_FROM_ENCODING_CP850) \
32 || defined (_ICONV_FROM_ENCODING_CP852) \
33 || defined (_ICONV_FROM_ENCODING_CP855) \
34 || defined (_ICONV_FROM_ENCODING_CP866) \
35 || defined (_ICONV_FROM_ENCODING_ISO_8859_1) \
36 || defined (_ICONV_FROM_ENCODING_ISO_8859_10) \
37 || defined (_ICONV_FROM_ENCODING_ISO_8859_11) \
38 || defined (_ICONV_FROM_ENCODING_ISO_8859_13) \
39 || defined (_ICONV_FROM_ENCODING_ISO_8859_14) \
40 || defined (_ICONV_FROM_ENCODING_ISO_8859_15) \
41 || defined (_ICONV_FROM_ENCODING_ISO_8859_2) \
42 || defined (_ICONV_FROM_ENCODING_ISO_8859_3) \
43 || defined (_ICONV_FROM_ENCODING_ISO_8859_4) \
44 || defined (_ICONV_FROM_ENCODING_ISO_8859_5) \
45 || defined (_ICONV_FROM_ENCODING_ISO_8859_6) \
46 || defined (_ICONV_FROM_ENCODING_ISO_8859_7) \
47 || defined (_ICONV_FROM_ENCODING_ISO_8859_8) \
48 || defined (_ICONV_FROM_ENCODING_ISO_8859_9) \
49 || defined (_ICONV_FROM_ENCODING_ISO_IR_111) \
50 || defined (_ICONV_FROM_ENCODING_KOI8_R) \
51 || defined (_ICONV_FROM_ENCODING_KOI8_RU) \
52 || defined (_ICONV_FROM_ENCODING_KOI8_U) \
53 || defined (_ICONV_FROM_ENCODING_KOI8_UNI) \
54 || defined (_ICONV_FROM_ENCODING_WIN_1250) \
55 || defined (_ICONV_FROM_ENCODING_WIN_1251) \
56 || defined (_ICONV_FROM_ENCODING_WIN_1252) \
57 || defined (_ICONV_FROM_ENCODING_WIN_1253) \
58 || defined (_ICONV_FROM_ENCODING_WIN_1254) \
59 || defined (_ICONV_FROM_ENCODING_WIN_1255) \
60 || defined (_ICONV_FROM_ENCODING_WIN_1256) \
61 || defined (_ICONV_FROM_ENCODING_WIN_1257) \
62 || defined (_ICONV_FROM_ENCODING_WIN_1258)
63 # define ICONV_TO_UCS_CES_TABLE
65 #if defined (_ICONV_TO_ENCODING_CP775) \
66 || defined (_ICONV_TO_ENCODING_CP850) \
67 || defined (_ICONV_TO_ENCODING_CP852) \
68 || defined (_ICONV_TO_ENCODING_CP855) \
69 || defined (_ICONV_TO_ENCODING_CP866) \
70 || defined (_ICONV_TO_ENCODING_ISO_8859_1) \
71 || defined (_ICONV_TO_ENCODING_ISO_8859_10) \
72 || defined (_ICONV_TO_ENCODING_ISO_8859_11) \
73 || defined (_ICONV_TO_ENCODING_ISO_8859_13) \
74 || defined (_ICONV_TO_ENCODING_ISO_8859_14) \
75 || defined (_ICONV_TO_ENCODING_ISO_8859_15) \
76 || defined (_ICONV_TO_ENCODING_ISO_8859_2) \
77 || defined (_ICONV_TO_ENCODING_ISO_8859_3) \
78 || defined (_ICONV_TO_ENCODING_ISO_8859_4) \
79 || defined (_ICONV_TO_ENCODING_ISO_8859_5) \
80 || defined (_ICONV_TO_ENCODING_ISO_8859_6) \
81 || defined (_ICONV_TO_ENCODING_ISO_8859_7) \
82 || defined (_ICONV_TO_ENCODING_ISO_8859_8) \
83 || defined (_ICONV_TO_ENCODING_ISO_8859_9) \
84 || defined (_ICONV_TO_ENCODING_ISO_IR_111) \
85 || defined (_ICONV_TO_ENCODING_KOI8_R) \
86 || defined (_ICONV_TO_ENCODING_KOI8_RU) \
87 || defined (_ICONV_TO_ENCODING_KOI8_U) \
88 || defined (_ICONV_TO_ENCODING_KOI8_UNI) \
89 || defined (_ICONV_TO_ENCODING_WIN_1250) \
90 || defined (_ICONV_TO_ENCODING_WIN_1251) \
91 || defined (_ICONV_TO_ENCODING_WIN_1252) \
92 || defined (_ICONV_TO_ENCODING_WIN_1253) \
93 || defined (_ICONV_TO_ENCODING_WIN_1254) \
94 || defined (_ICONV_TO_ENCODING_WIN_1255) \
95 || defined (_ICONV_TO_ENCODING_WIN_1256) \
96 || defined (_ICONV_TO_ENCODING_WIN_1257) \
97 || defined (_ICONV_TO_ENCODING_WIN_1258)
98 # define ICONV_FROM_UCS_CES_TABLE
101 #if defined (_ICONV_FROM_ENCODING_BIG5)
102 # define ICONV_TO_UCS_CES_TABLE_PCS
104 #if defined (_ICONV_TO_ENCODING_BIG5)
105 # define ICONV_FROM_UCS_CES_TABLE_PCS
108 #if defined (_ICONV_FROM_ENCODING_UCS_2) \
109 || defined (_ICONV_FROM_ENCODING_UCS_2BE) \
110 || defined (_ICONV_FROM_ENCODING_UCS_2LE)
111 # define ICONV_TO_UCS_CES_UCS_2
113 #if defined (_ICONV_TO_ENCODING_UCS_2) \
114 || defined (_ICONV_TO_ENCODING_UCS_2BE) \
115 || defined (_ICONV_TO_ENCODING_UCS_2LE)
116 # define ICONV_FROM_UCS_CES_UCS_2
119 #if defined (_ICONV_FROM_ENCODING_UCS_2_INTERNAL)
120 # define ICONV_TO_UCS_CES_UCS_2_INTERNAL
122 #if defined (_ICONV_TO_ENCODING_UCS_2_INTERNAL)
123 # define ICONV_FROM_UCS_CES_UCS_2_INTERNAL
126 #if defined (_ICONV_FROM_ENCODING_UCS_4) \
127 || defined (_ICONV_FROM_ENCODING_UCS_4BE) \
128 || defined (_ICONV_FROM_ENCODING_UCS_4LE)
129 # define ICONV_TO_UCS_CES_UCS_4
131 #if defined (_ICONV_TO_ENCODING_UCS_4) \
132 || defined (_ICONV_TO_ENCODING_UCS_4BE) \
133 || defined (_ICONV_TO_ENCODING_UCS_4LE)
134 # define ICONV_FROM_UCS_CES_UCS_4
137 #if defined (_ICONV_FROM_ENCODING_UCS_4_INTERNAL)
138 # define ICONV_TO_UCS_CES_UCS_4_INTERNAL
140 #if defined (_ICONV_TO_ENCODING_UCS_4_INTERNAL)
141 # define ICONV_FROM_UCS_CES_UCS_4_INTERNAL
144 #if defined (_ICONV_FROM_ENCODING_US_ASCII)
145 # define ICONV_TO_UCS_CES_US_ASCII
147 #if defined (_ICONV_TO_ENCODING_US_ASCII)
148 # define ICONV_FROM_UCS_CES_US_ASCII
151 #if defined (_ICONV_FROM_ENCODING_UTF_16) \
152 || defined (_ICONV_FROM_ENCODING_UTF_16BE) \
153 || defined (_ICONV_FROM_ENCODING_UTF_16LE)
154 # define ICONV_TO_UCS_CES_UTF_16
156 #if defined (_ICONV_TO_ENCODING_UTF_16) \
157 || defined (_ICONV_TO_ENCODING_UTF_16BE) \
158 || defined (_ICONV_TO_ENCODING_UTF_16LE)
159 # define ICONV_FROM_UCS_CES_UTF_16
162 #if defined (_ICONV_FROM_ENCODING_UTF_8)
163 # define ICONV_TO_UCS_CES_UTF_8
165 #if defined (_ICONV_TO_ENCODING_UTF_8)
166 # define ICONV_FROM_UCS_CES_UTF_8
170 * Some encodings require another encodings to be enabled.
171 * These dependencies are handled in cesdeps.h header file.
176 * NLS uses iconv's capabilities and require one of encodings
177 * to be enabled for internal wchar_t representation.
179 #include "../lib/iconvnls.h"
182 * Forward declarations of CES converter handlers.
183 * These handlers are actually defined in correspondent CES converter files.
185 #ifdef ICONV_TO_UCS_CES_EUC
186 extern const iconv_to_ucs_ces_handlers_t
187 _iconv_to_ucs_ces_handlers_euc
;
189 #ifdef ICONV_FROM_UCS_CES_EUC
190 extern const iconv_from_ucs_ces_handlers_t
191 _iconv_from_ucs_ces_handlers_euc
;
194 #ifdef ICONV_TO_UCS_CES_TABLE
195 extern const iconv_to_ucs_ces_handlers_t
196 _iconv_to_ucs_ces_handlers_table
;
198 #ifdef ICONV_FROM_UCS_CES_TABLE
199 extern const iconv_from_ucs_ces_handlers_t
200 _iconv_from_ucs_ces_handlers_table
;
203 #ifdef ICONV_TO_UCS_CES_TABLE_PCS
204 extern const iconv_to_ucs_ces_handlers_t
205 _iconv_to_ucs_ces_handlers_table_pcs
;
207 #ifdef ICONV_FROM_UCS_CES_TABLE_PCS
208 extern const iconv_from_ucs_ces_handlers_t
209 _iconv_from_ucs_ces_handlers_table_pcs
;
212 #ifdef ICONV_TO_UCS_CES_UCS_2
213 extern const iconv_to_ucs_ces_handlers_t
214 _iconv_to_ucs_ces_handlers_ucs_2
;
216 #ifdef ICONV_FROM_UCS_CES_UCS_2
217 extern const iconv_from_ucs_ces_handlers_t
218 _iconv_from_ucs_ces_handlers_ucs_2
;
221 #ifdef ICONV_TO_UCS_CES_UCS_2_INTERNAL
222 extern const iconv_to_ucs_ces_handlers_t
223 _iconv_to_ucs_ces_handlers_ucs_2_internal
;
225 #ifdef ICONV_FROM_UCS_CES_UCS_2_INTERNAL
226 extern const iconv_from_ucs_ces_handlers_t
227 _iconv_from_ucs_ces_handlers_ucs_2_internal
;
230 #ifdef ICONV_TO_UCS_CES_UCS_4
231 extern const iconv_to_ucs_ces_handlers_t
232 _iconv_to_ucs_ces_handlers_ucs_4
;
234 #ifdef ICONV_FROM_UCS_CES_UCS_4
235 extern const iconv_from_ucs_ces_handlers_t
236 _iconv_from_ucs_ces_handlers_ucs_4
;
239 #ifdef ICONV_TO_UCS_CES_UCS_4_INTERNAL
240 extern const iconv_to_ucs_ces_handlers_t
241 _iconv_to_ucs_ces_handlers_ucs_4_internal
;
243 #ifdef ICONV_FROM_UCS_CES_UCS_4_INTERNAL
244 extern const iconv_from_ucs_ces_handlers_t
245 _iconv_from_ucs_ces_handlers_ucs_4_internal
;
248 #ifdef ICONV_TO_UCS_CES_US_ASCII
249 extern const iconv_to_ucs_ces_handlers_t
250 _iconv_to_ucs_ces_handlers_us_ascii
;
252 #ifdef ICONV_FROM_UCS_CES_US_ASCII
253 extern const iconv_from_ucs_ces_handlers_t
254 _iconv_from_ucs_ces_handlers_us_ascii
;
257 #ifdef ICONV_TO_UCS_CES_UTF_16
258 extern const iconv_to_ucs_ces_handlers_t
259 _iconv_to_ucs_ces_handlers_utf_16
;
261 #ifdef ICONV_FROM_UCS_CES_UTF_16
262 extern const iconv_from_ucs_ces_handlers_t
263 _iconv_from_ucs_ces_handlers_utf_16
;
266 #ifdef ICONV_TO_UCS_CES_UTF_8
267 extern const iconv_to_ucs_ces_handlers_t
268 _iconv_to_ucs_ces_handlers_utf_8
;
270 #ifdef ICONV_FROM_UCS_CES_UTF_8
271 extern const iconv_from_ucs_ces_handlers_t
272 _iconv_from_ucs_ces_handlers_utf_8
;
275 #endif /* !__CESBI_H__ */