2 * This file was automatically generated mkdeps.pl script. Don't edit.
7 #include "../lib/ucsconv.h"
11 * Each CES converter provides the list of supported encodings.
13 #if defined (ICONV_TO_UCS_CES_EUC) \
14 || defined (ICONV_FROM_UCS_CES_EUC)
16 iconv_ces_names_euc
[] =
18 # if defined (_ICONV_FROM_ENCODING_EUC_JP) \
19 || defined (_ICONV_TO_ENCODING_EUC_JP)
20 ICONV_ENCODING_EUC_JP
,
22 # if defined (_ICONV_FROM_ENCODING_EUC_KR) \
23 || defined (_ICONV_TO_ENCODING_EUC_KR)
24 ICONV_ENCODING_EUC_KR
,
26 # if defined (_ICONV_FROM_ENCODING_EUC_TW) \
27 || defined (_ICONV_TO_ENCODING_EUC_TW)
28 ICONV_ENCODING_EUC_TW
,
34 #if defined (ICONV_TO_UCS_CES_TABLE) \
35 || defined (ICONV_FROM_UCS_CES_TABLE)
37 iconv_ces_names_table
[] =
39 # if defined (_ICONV_FROM_ENCODING_CP775) \
40 || defined (_ICONV_TO_ENCODING_CP775)
43 # if defined (_ICONV_FROM_ENCODING_CP850) \
44 || defined (_ICONV_TO_ENCODING_CP850)
47 # if defined (_ICONV_FROM_ENCODING_CP852) \
48 || defined (_ICONV_TO_ENCODING_CP852)
51 # if defined (_ICONV_FROM_ENCODING_CP855) \
52 || defined (_ICONV_TO_ENCODING_CP855)
55 # if defined (_ICONV_FROM_ENCODING_CP866) \
56 || defined (_ICONV_TO_ENCODING_CP866)
59 # if defined (_ICONV_FROM_ENCODING_ISO_8859_1) \
60 || defined (_ICONV_TO_ENCODING_ISO_8859_1)
61 ICONV_ENCODING_ISO_8859_1
,
63 # if defined (_ICONV_FROM_ENCODING_ISO_8859_10) \
64 || defined (_ICONV_TO_ENCODING_ISO_8859_10)
65 ICONV_ENCODING_ISO_8859_10
,
67 # if defined (_ICONV_FROM_ENCODING_ISO_8859_11) \
68 || defined (_ICONV_TO_ENCODING_ISO_8859_11)
69 ICONV_ENCODING_ISO_8859_11
,
71 # if defined (_ICONV_FROM_ENCODING_ISO_8859_13) \
72 || defined (_ICONV_TO_ENCODING_ISO_8859_13)
73 ICONV_ENCODING_ISO_8859_13
,
75 # if defined (_ICONV_FROM_ENCODING_ISO_8859_14) \
76 || defined (_ICONV_TO_ENCODING_ISO_8859_14)
77 ICONV_ENCODING_ISO_8859_14
,
79 # if defined (_ICONV_FROM_ENCODING_ISO_8859_15) \
80 || defined (_ICONV_TO_ENCODING_ISO_8859_15)
81 ICONV_ENCODING_ISO_8859_15
,
83 # if defined (_ICONV_FROM_ENCODING_ISO_8859_2) \
84 || defined (_ICONV_TO_ENCODING_ISO_8859_2)
85 ICONV_ENCODING_ISO_8859_2
,
87 # if defined (_ICONV_FROM_ENCODING_ISO_8859_3) \
88 || defined (_ICONV_TO_ENCODING_ISO_8859_3)
89 ICONV_ENCODING_ISO_8859_3
,
91 # if defined (_ICONV_FROM_ENCODING_ISO_8859_4) \
92 || defined (_ICONV_TO_ENCODING_ISO_8859_4)
93 ICONV_ENCODING_ISO_8859_4
,
95 # if defined (_ICONV_FROM_ENCODING_ISO_8859_5) \
96 || defined (_ICONV_TO_ENCODING_ISO_8859_5)
97 ICONV_ENCODING_ISO_8859_5
,
99 # if defined (_ICONV_FROM_ENCODING_ISO_8859_6) \
100 || defined (_ICONV_TO_ENCODING_ISO_8859_6)
101 ICONV_ENCODING_ISO_8859_6
,
103 # if defined (_ICONV_FROM_ENCODING_ISO_8859_7) \
104 || defined (_ICONV_TO_ENCODING_ISO_8859_7)
105 ICONV_ENCODING_ISO_8859_7
,
107 # if defined (_ICONV_FROM_ENCODING_ISO_8859_8) \
108 || defined (_ICONV_TO_ENCODING_ISO_8859_8)
109 ICONV_ENCODING_ISO_8859_8
,
111 # if defined (_ICONV_FROM_ENCODING_ISO_8859_9) \
112 || defined (_ICONV_TO_ENCODING_ISO_8859_9)
113 ICONV_ENCODING_ISO_8859_9
,
115 # if defined (_ICONV_FROM_ENCODING_ISO_IR_111) \
116 || defined (_ICONV_TO_ENCODING_ISO_IR_111)
117 ICONV_ENCODING_ISO_IR_111
,
119 # if defined (_ICONV_FROM_ENCODING_KOI8_R) \
120 || defined (_ICONV_TO_ENCODING_KOI8_R)
121 ICONV_ENCODING_KOI8_R
,
123 # if defined (_ICONV_FROM_ENCODING_KOI8_RU) \
124 || defined (_ICONV_TO_ENCODING_KOI8_RU)
125 ICONV_ENCODING_KOI8_RU
,
127 # if defined (_ICONV_FROM_ENCODING_KOI8_U) \
128 || defined (_ICONV_TO_ENCODING_KOI8_U)
129 ICONV_ENCODING_KOI8_U
,
131 # if defined (_ICONV_FROM_ENCODING_KOI8_UNI) \
132 || defined (_ICONV_TO_ENCODING_KOI8_UNI)
133 ICONV_ENCODING_KOI8_UNI
,
135 # if defined (_ICONV_FROM_ENCODING_WIN_1250) \
136 || defined (_ICONV_TO_ENCODING_WIN_1250)
137 ICONV_ENCODING_WIN_1250
,
139 # if defined (_ICONV_FROM_ENCODING_WIN_1251) \
140 || defined (_ICONV_TO_ENCODING_WIN_1251)
141 ICONV_ENCODING_WIN_1251
,
143 # if defined (_ICONV_FROM_ENCODING_WIN_1252) \
144 || defined (_ICONV_TO_ENCODING_WIN_1252)
145 ICONV_ENCODING_WIN_1252
,
147 # if defined (_ICONV_FROM_ENCODING_WIN_1253) \
148 || defined (_ICONV_TO_ENCODING_WIN_1253)
149 ICONV_ENCODING_WIN_1253
,
151 # if defined (_ICONV_FROM_ENCODING_WIN_1254) \
152 || defined (_ICONV_TO_ENCODING_WIN_1254)
153 ICONV_ENCODING_WIN_1254
,
155 # if defined (_ICONV_FROM_ENCODING_WIN_1255) \
156 || defined (_ICONV_TO_ENCODING_WIN_1255)
157 ICONV_ENCODING_WIN_1255
,
159 # if defined (_ICONV_FROM_ENCODING_WIN_1256) \
160 || defined (_ICONV_TO_ENCODING_WIN_1256)
161 ICONV_ENCODING_WIN_1256
,
163 # if defined (_ICONV_FROM_ENCODING_WIN_1257) \
164 || defined (_ICONV_TO_ENCODING_WIN_1257)
165 ICONV_ENCODING_WIN_1257
,
167 # if defined (_ICONV_FROM_ENCODING_WIN_1258) \
168 || defined (_ICONV_TO_ENCODING_WIN_1258)
169 ICONV_ENCODING_WIN_1258
,
175 #if defined (ICONV_TO_UCS_CES_TABLE_PCS) \
176 || defined (ICONV_FROM_UCS_CES_TABLE_PCS)
178 iconv_ces_names_table_pcs
[] =
180 # if defined (_ICONV_FROM_ENCODING_BIG5) \
181 || defined (_ICONV_TO_ENCODING_BIG5)
188 #if defined (ICONV_TO_UCS_CES_UCS_2) \
189 || defined (ICONV_FROM_UCS_CES_UCS_2)
191 iconv_ces_names_ucs_2
[] =
193 # if defined (_ICONV_FROM_ENCODING_UCS_2) \
194 || defined (_ICONV_TO_ENCODING_UCS_2)
195 ICONV_ENCODING_UCS_2
,
197 # if defined (_ICONV_FROM_ENCODING_UCS_2BE) \
198 || defined (_ICONV_TO_ENCODING_UCS_2BE)
199 ICONV_ENCODING_UCS_2BE
,
201 # if defined (_ICONV_FROM_ENCODING_UCS_2LE) \
202 || defined (_ICONV_TO_ENCODING_UCS_2LE)
203 ICONV_ENCODING_UCS_2LE
,
209 #if defined (ICONV_TO_UCS_CES_UCS_2_INTERNAL) \
210 || defined (ICONV_FROM_UCS_CES_UCS_2_INTERNAL)
212 iconv_ces_names_ucs_2_internal
[] =
214 # if defined (_ICONV_FROM_ENCODING_UCS_2_INTERNAL) \
215 || defined (_ICONV_TO_ENCODING_UCS_2_INTERNAL)
216 ICONV_ENCODING_UCS_2_INTERNAL
,
222 #if defined (ICONV_TO_UCS_CES_UCS_4) \
223 || defined (ICONV_FROM_UCS_CES_UCS_4)
225 iconv_ces_names_ucs_4
[] =
227 # if defined (_ICONV_FROM_ENCODING_UCS_4) \
228 || defined (_ICONV_TO_ENCODING_UCS_4)
229 ICONV_ENCODING_UCS_4
,
231 # if defined (_ICONV_FROM_ENCODING_UCS_4BE) \
232 || defined (_ICONV_TO_ENCODING_UCS_4BE)
233 ICONV_ENCODING_UCS_4BE
,
235 # if defined (_ICONV_FROM_ENCODING_UCS_4LE) \
236 || defined (_ICONV_TO_ENCODING_UCS_4LE)
237 ICONV_ENCODING_UCS_4LE
,
243 #if defined (ICONV_TO_UCS_CES_UCS_4_INTERNAL) \
244 || defined (ICONV_FROM_UCS_CES_UCS_4_INTERNAL)
246 iconv_ces_names_ucs_4_internal
[] =
248 # if defined (_ICONV_FROM_ENCODING_UCS_4_INTERNAL) \
249 || defined (_ICONV_TO_ENCODING_UCS_4_INTERNAL)
250 ICONV_ENCODING_UCS_4_INTERNAL
,
256 #if defined (ICONV_TO_UCS_CES_US_ASCII) \
257 || defined (ICONV_FROM_UCS_CES_US_ASCII)
259 iconv_ces_names_us_ascii
[] =
261 # if defined (_ICONV_FROM_ENCODING_US_ASCII) \
262 || defined (_ICONV_TO_ENCODING_US_ASCII)
263 ICONV_ENCODING_US_ASCII
,
269 #if defined (ICONV_TO_UCS_CES_UTF_16) \
270 || defined (ICONV_FROM_UCS_CES_UTF_16)
272 iconv_ces_names_utf_16
[] =
274 # if defined (_ICONV_FROM_ENCODING_UTF_16) \
275 || defined (_ICONV_TO_ENCODING_UTF_16)
276 ICONV_ENCODING_UTF_16
,
278 # if defined (_ICONV_FROM_ENCODING_UTF_16BE) \
279 || defined (_ICONV_TO_ENCODING_UTF_16BE)
280 ICONV_ENCODING_UTF_16BE
,
282 # if defined (_ICONV_FROM_ENCODING_UTF_16LE) \
283 || defined (_ICONV_TO_ENCODING_UTF_16LE)
284 ICONV_ENCODING_UTF_16LE
,
290 #if defined (ICONV_TO_UCS_CES_UTF_8) \
291 || defined (ICONV_FROM_UCS_CES_UTF_8)
293 iconv_ces_names_utf_8
[] =
295 # if defined (_ICONV_FROM_ENCODING_UTF_8) \
296 || defined (_ICONV_TO_ENCODING_UTF_8)
297 ICONV_ENCODING_UTF_8
,
304 * The following structure contains the list of "to UCS" linked-in CES converters.
306 const iconv_to_ucs_ces_t
307 _iconv_to_ucs_ces
[] =
309 #ifdef ICONV_TO_UCS_CES_EUC
310 {(const char **)iconv_ces_names_euc
,
311 &_iconv_to_ucs_ces_handlers_euc
},
313 #ifdef ICONV_TO_UCS_CES_TABLE
314 {(const char **)iconv_ces_names_table
,
315 &_iconv_to_ucs_ces_handlers_table
},
317 #ifdef ICONV_TO_UCS_CES_TABLE_PCS
318 {(const char **)iconv_ces_names_table_pcs
,
319 &_iconv_to_ucs_ces_handlers_table_pcs
},
321 #ifdef ICONV_TO_UCS_CES_UCS_2
322 {(const char **)iconv_ces_names_ucs_2
,
323 &_iconv_to_ucs_ces_handlers_ucs_2
},
325 #ifdef ICONV_TO_UCS_CES_UCS_2_INTERNAL
326 {(const char **)iconv_ces_names_ucs_2_internal
,
327 &_iconv_to_ucs_ces_handlers_ucs_2_internal
},
329 #ifdef ICONV_TO_UCS_CES_UCS_4
330 {(const char **)iconv_ces_names_ucs_4
,
331 &_iconv_to_ucs_ces_handlers_ucs_4
},
333 #ifdef ICONV_TO_UCS_CES_UCS_4_INTERNAL
334 {(const char **)iconv_ces_names_ucs_4_internal
,
335 &_iconv_to_ucs_ces_handlers_ucs_4_internal
},
337 #ifdef ICONV_TO_UCS_CES_US_ASCII
338 {(const char **)iconv_ces_names_us_ascii
,
339 &_iconv_to_ucs_ces_handlers_us_ascii
},
341 #ifdef ICONV_TO_UCS_CES_UTF_16
342 {(const char **)iconv_ces_names_utf_16
,
343 &_iconv_to_ucs_ces_handlers_utf_16
},
345 #ifdef ICONV_TO_UCS_CES_UTF_8
346 {(const char **)iconv_ces_names_utf_8
,
347 &_iconv_to_ucs_ces_handlers_utf_8
},
349 {(const char **)NULL
,
350 (iconv_to_ucs_ces_handlers_t
*)NULL
}
354 * The following structure contains the list of "from UCS" linked-in CES converters.
356 const iconv_from_ucs_ces_t
357 _iconv_from_ucs_ces
[] =
359 #ifdef ICONV_FROM_UCS_CES_EUC
360 {(const char **)iconv_ces_names_euc
,
361 &_iconv_from_ucs_ces_handlers_euc
},
363 #ifdef ICONV_FROM_UCS_CES_TABLE
364 {(const char **)iconv_ces_names_table
,
365 &_iconv_from_ucs_ces_handlers_table
},
367 #ifdef ICONV_FROM_UCS_CES_TABLE_PCS
368 {(const char **)iconv_ces_names_table_pcs
,
369 &_iconv_from_ucs_ces_handlers_table_pcs
},
371 #ifdef ICONV_FROM_UCS_CES_UCS_2
372 {(const char **)iconv_ces_names_ucs_2
,
373 &_iconv_from_ucs_ces_handlers_ucs_2
},
375 #ifdef ICONV_FROM_UCS_CES_UCS_2_INTERNAL
376 {(const char **)iconv_ces_names_ucs_2_internal
,
377 &_iconv_from_ucs_ces_handlers_ucs_2_internal
},
379 #ifdef ICONV_FROM_UCS_CES_UCS_4
380 {(const char **)iconv_ces_names_ucs_4
,
381 &_iconv_from_ucs_ces_handlers_ucs_4
},
383 #ifdef ICONV_FROM_UCS_CES_UCS_4_INTERNAL
384 {(const char **)iconv_ces_names_ucs_4_internal
,
385 &_iconv_from_ucs_ces_handlers_ucs_4_internal
},
387 #ifdef ICONV_FROM_UCS_CES_US_ASCII
388 {(const char **)iconv_ces_names_us_ascii
,
389 &_iconv_from_ucs_ces_handlers_us_ascii
},
391 #ifdef ICONV_FROM_UCS_CES_UTF_16
392 {(const char **)iconv_ces_names_utf_16
,
393 &_iconv_from_ucs_ces_handlers_utf_16
},
395 #ifdef ICONV_FROM_UCS_CES_UTF_8
396 {(const char **)iconv_ces_names_utf_8
,
397 &_iconv_from_ucs_ces_handlers_utf_8
},
399 {(const char **)NULL
,
400 (iconv_from_ucs_ces_handlers_t
*)NULL
}