1 /* 2 * This file was automatically generated mkdeps.pl script. Don't edit. 3 */ 4 5 #ifndef __CCSBI_H__ 6 #define __CCSBI_H__ 7 8 #include <newlib.h> 9 #include <_ansi.h> 10 #include "ccs.h" 11 12 /* 13 * Enable CCS tables if encoding needs them. 14 * Defining ICONV_TO_UCS_CCS_XXX macro or ICONV_FROM_UCS_CCS_XXX 15 * macro is needed to enable "XXX encoding -> UCS" or "UCS -> XXX encoding" 16 * part of CCS table. 17 * CCS tables aren't linked if Newlib was configuted to use external CCS tables. 18 */ 19 #ifndef _ICONV_ENABLE_EXTERNAL_CCS 20 21 #if defined (_ICONV_FROM_ENCODING_BIG5) 22 # define ICONV_TO_UCS_CCS_BIG5 23 #endif 24 #if defined (_ICONV_TO_ENCODING_BIG5) 25 # define ICONV_FROM_UCS_CCS_BIG5 26 #endif 27 28 #if defined (_ICONV_FROM_ENCODING_EUC_TW) 29 # define ICONV_TO_UCS_CCS_CNS11643_PLANE1 30 #endif 31 #if defined (_ICONV_TO_ENCODING_EUC_TW) 32 # define ICONV_FROM_UCS_CCS_CNS11643_PLANE1 33 #endif 34 35 #if defined (_ICONV_FROM_ENCODING_EUC_TW) 36 # define ICONV_TO_UCS_CCS_CNS11643_PLANE14 37 #endif 38 #if defined (_ICONV_TO_ENCODING_EUC_TW) 39 # define ICONV_FROM_UCS_CCS_CNS11643_PLANE14 40 #endif 41 42 #if defined (_ICONV_FROM_ENCODING_EUC_TW) 43 # define ICONV_TO_UCS_CCS_CNS11643_PLANE2 44 #endif 45 #if defined (_ICONV_TO_ENCODING_EUC_TW) 46 # define ICONV_FROM_UCS_CCS_CNS11643_PLANE2 47 #endif 48 49 #if defined (_ICONV_FROM_ENCODING_CP775) 50 # define ICONV_TO_UCS_CCS_CP775 51 #endif 52 #if defined (_ICONV_TO_ENCODING_CP775) 53 # define ICONV_FROM_UCS_CCS_CP775 54 #endif 55 56 #if defined (_ICONV_FROM_ENCODING_CP850) 57 # define ICONV_TO_UCS_CCS_CP850 58 #endif 59 #if defined (_ICONV_TO_ENCODING_CP850) 60 # define ICONV_FROM_UCS_CCS_CP850 61 #endif 62 63 #if defined (_ICONV_FROM_ENCODING_CP852) 64 # define ICONV_TO_UCS_CCS_CP852 65 #endif 66 #if defined (_ICONV_TO_ENCODING_CP852) 67 # define ICONV_FROM_UCS_CCS_CP852 68 #endif 69 70 #if defined (_ICONV_FROM_ENCODING_CP855) 71 # define ICONV_TO_UCS_CCS_CP855 72 #endif 73 #if defined (_ICONV_TO_ENCODING_CP855) 74 # define ICONV_FROM_UCS_CCS_CP855 75 #endif 76 77 #if defined (_ICONV_FROM_ENCODING_CP866) 78 # define ICONV_TO_UCS_CCS_CP866 79 #endif 80 #if defined (_ICONV_TO_ENCODING_CP866) 81 # define ICONV_FROM_UCS_CCS_CP866 82 #endif 83 84 #if defined (_ICONV_FROM_ENCODING_ISO_8859_1) 85 # define ICONV_TO_UCS_CCS_ISO_8859_1 86 #endif 87 #if defined (_ICONV_TO_ENCODING_ISO_8859_1) 88 # define ICONV_FROM_UCS_CCS_ISO_8859_1 89 #endif 90 91 #if defined (_ICONV_FROM_ENCODING_ISO_8859_10) 92 # define ICONV_TO_UCS_CCS_ISO_8859_10 93 #endif 94 #if defined (_ICONV_TO_ENCODING_ISO_8859_10) 95 # define ICONV_FROM_UCS_CCS_ISO_8859_10 96 #endif 97 98 #if defined (_ICONV_FROM_ENCODING_ISO_8859_11) 99 # define ICONV_TO_UCS_CCS_ISO_8859_11 100 #endif 101 #if defined (_ICONV_TO_ENCODING_ISO_8859_11) 102 # define ICONV_FROM_UCS_CCS_ISO_8859_11 103 #endif 104 105 #if defined (_ICONV_FROM_ENCODING_ISO_8859_13) 106 # define ICONV_TO_UCS_CCS_ISO_8859_13 107 #endif 108 #if defined (_ICONV_TO_ENCODING_ISO_8859_13) 109 # define ICONV_FROM_UCS_CCS_ISO_8859_13 110 #endif 111 112 #if defined (_ICONV_FROM_ENCODING_ISO_8859_14) 113 # define ICONV_TO_UCS_CCS_ISO_8859_14 114 #endif 115 #if defined (_ICONV_TO_ENCODING_ISO_8859_14) 116 # define ICONV_FROM_UCS_CCS_ISO_8859_14 117 #endif 118 119 #if defined (_ICONV_FROM_ENCODING_ISO_8859_15) 120 # define ICONV_TO_UCS_CCS_ISO_8859_15 121 #endif 122 #if defined (_ICONV_TO_ENCODING_ISO_8859_15) 123 # define ICONV_FROM_UCS_CCS_ISO_8859_15 124 #endif 125 126 #if defined (_ICONV_FROM_ENCODING_ISO_8859_2) 127 # define ICONV_TO_UCS_CCS_ISO_8859_2 128 #endif 129 #if defined (_ICONV_TO_ENCODING_ISO_8859_2) 130 # define ICONV_FROM_UCS_CCS_ISO_8859_2 131 #endif 132 133 #if defined (_ICONV_FROM_ENCODING_ISO_8859_3) 134 # define ICONV_TO_UCS_CCS_ISO_8859_3 135 #endif 136 #if defined (_ICONV_TO_ENCODING_ISO_8859_3) 137 # define ICONV_FROM_UCS_CCS_ISO_8859_3 138 #endif 139 140 #if defined (_ICONV_FROM_ENCODING_ISO_8859_4) 141 # define ICONV_TO_UCS_CCS_ISO_8859_4 142 #endif 143 #if defined (_ICONV_TO_ENCODING_ISO_8859_4) 144 # define ICONV_FROM_UCS_CCS_ISO_8859_4 145 #endif 146 147 #if defined (_ICONV_FROM_ENCODING_ISO_8859_5) 148 # define ICONV_TO_UCS_CCS_ISO_8859_5 149 #endif 150 #if defined (_ICONV_TO_ENCODING_ISO_8859_5) 151 # define ICONV_FROM_UCS_CCS_ISO_8859_5 152 #endif 153 154 #if defined (_ICONV_FROM_ENCODING_ISO_8859_6) 155 # define ICONV_TO_UCS_CCS_ISO_8859_6 156 #endif 157 #if defined (_ICONV_TO_ENCODING_ISO_8859_6) 158 # define ICONV_FROM_UCS_CCS_ISO_8859_6 159 #endif 160 161 #if defined (_ICONV_FROM_ENCODING_ISO_8859_7) 162 # define ICONV_TO_UCS_CCS_ISO_8859_7 163 #endif 164 #if defined (_ICONV_TO_ENCODING_ISO_8859_7) 165 # define ICONV_FROM_UCS_CCS_ISO_8859_7 166 #endif 167 168 #if defined (_ICONV_FROM_ENCODING_ISO_8859_8) 169 # define ICONV_TO_UCS_CCS_ISO_8859_8 170 #endif 171 #if defined (_ICONV_TO_ENCODING_ISO_8859_8) 172 # define ICONV_FROM_UCS_CCS_ISO_8859_8 173 #endif 174 175 #if defined (_ICONV_FROM_ENCODING_ISO_8859_9) 176 # define ICONV_TO_UCS_CCS_ISO_8859_9 177 #endif 178 #if defined (_ICONV_TO_ENCODING_ISO_8859_9) 179 # define ICONV_FROM_UCS_CCS_ISO_8859_9 180 #endif 181 182 #if defined (_ICONV_FROM_ENCODING_ISO_IR_111) 183 # define ICONV_TO_UCS_CCS_ISO_IR_111 184 #endif 185 #if defined (_ICONV_TO_ENCODING_ISO_IR_111) 186 # define ICONV_FROM_UCS_CCS_ISO_IR_111 187 #endif 188 189 #if defined (_ICONV_FROM_ENCODING_EUC_JP) 190 # define ICONV_TO_UCS_CCS_JIS_X0201_1976 191 #endif 192 #if defined (_ICONV_TO_ENCODING_EUC_JP) 193 # define ICONV_FROM_UCS_CCS_JIS_X0201_1976 194 #endif 195 196 #if defined (_ICONV_FROM_ENCODING_EUC_JP) 197 # define ICONV_TO_UCS_CCS_JIS_X0208_1990 198 #endif 199 #if defined (_ICONV_TO_ENCODING_EUC_JP) 200 # define ICONV_FROM_UCS_CCS_JIS_X0208_1990 201 #endif 202 203 #if defined (_ICONV_FROM_ENCODING_EUC_JP) 204 # define ICONV_TO_UCS_CCS_JIS_X0212_1990 205 #endif 206 #if defined (_ICONV_TO_ENCODING_EUC_JP) 207 # define ICONV_FROM_UCS_CCS_JIS_X0212_1990 208 #endif 209 210 #if defined (_ICONV_FROM_ENCODING_KOI8_R) 211 # define ICONV_TO_UCS_CCS_KOI8_R 212 #endif 213 #if defined (_ICONV_TO_ENCODING_KOI8_R) 214 # define ICONV_FROM_UCS_CCS_KOI8_R 215 #endif 216 217 #if defined (_ICONV_FROM_ENCODING_KOI8_RU) 218 # define ICONV_TO_UCS_CCS_KOI8_RU 219 #endif 220 #if defined (_ICONV_TO_ENCODING_KOI8_RU) 221 # define ICONV_FROM_UCS_CCS_KOI8_RU 222 #endif 223 224 #if defined (_ICONV_FROM_ENCODING_KOI8_U) 225 # define ICONV_TO_UCS_CCS_KOI8_U 226 #endif 227 #if defined (_ICONV_TO_ENCODING_KOI8_U) 228 # define ICONV_FROM_UCS_CCS_KOI8_U 229 #endif 230 231 #if defined (_ICONV_FROM_ENCODING_KOI8_UNI) 232 # define ICONV_TO_UCS_CCS_KOI8_UNI 233 #endif 234 #if defined (_ICONV_TO_ENCODING_KOI8_UNI) 235 # define ICONV_FROM_UCS_CCS_KOI8_UNI 236 #endif 237 238 #if defined (_ICONV_FROM_ENCODING_EUC_KR) 239 # define ICONV_TO_UCS_CCS_KSX1001 240 #endif 241 #if defined (_ICONV_TO_ENCODING_EUC_KR) 242 # define ICONV_FROM_UCS_CCS_KSX1001 243 #endif 244 245 #if defined (_ICONV_FROM_ENCODING_WIN_1250) 246 # define ICONV_TO_UCS_CCS_WIN_1250 247 #endif 248 #if defined (_ICONV_TO_ENCODING_WIN_1250) 249 # define ICONV_FROM_UCS_CCS_WIN_1250 250 #endif 251 252 #if defined (_ICONV_FROM_ENCODING_WIN_1251) 253 # define ICONV_TO_UCS_CCS_WIN_1251 254 #endif 255 #if defined (_ICONV_TO_ENCODING_WIN_1251) 256 # define ICONV_FROM_UCS_CCS_WIN_1251 257 #endif 258 259 #if defined (_ICONV_FROM_ENCODING_WIN_1252) 260 # define ICONV_TO_UCS_CCS_WIN_1252 261 #endif 262 #if defined (_ICONV_TO_ENCODING_WIN_1252) 263 # define ICONV_FROM_UCS_CCS_WIN_1252 264 #endif 265 266 #if defined (_ICONV_FROM_ENCODING_WIN_1253) 267 # define ICONV_TO_UCS_CCS_WIN_1253 268 #endif 269 #if defined (_ICONV_TO_ENCODING_WIN_1253) 270 # define ICONV_FROM_UCS_CCS_WIN_1253 271 #endif 272 273 #if defined (_ICONV_FROM_ENCODING_WIN_1254) 274 # define ICONV_TO_UCS_CCS_WIN_1254 275 #endif 276 #if defined (_ICONV_TO_ENCODING_WIN_1254) 277 # define ICONV_FROM_UCS_CCS_WIN_1254 278 #endif 279 280 #if defined (_ICONV_FROM_ENCODING_WIN_1255) 281 # define ICONV_TO_UCS_CCS_WIN_1255 282 #endif 283 #if defined (_ICONV_TO_ENCODING_WIN_1255) 284 # define ICONV_FROM_UCS_CCS_WIN_1255 285 #endif 286 287 #if defined (_ICONV_FROM_ENCODING_WIN_1256) 288 # define ICONV_TO_UCS_CCS_WIN_1256 289 #endif 290 #if defined (_ICONV_TO_ENCODING_WIN_1256) 291 # define ICONV_FROM_UCS_CCS_WIN_1256 292 #endif 293 294 #if defined (_ICONV_FROM_ENCODING_WIN_1257) 295 # define ICONV_TO_UCS_CCS_WIN_1257 296 #endif 297 #if defined (_ICONV_TO_ENCODING_WIN_1257) 298 # define ICONV_FROM_UCS_CCS_WIN_1257 299 #endif 300 301 #if defined (_ICONV_FROM_ENCODING_WIN_1258) 302 # define ICONV_TO_UCS_CCS_WIN_1258 303 #endif 304 #if defined (_ICONV_TO_ENCODING_WIN_1258) 305 # define ICONV_FROM_UCS_CCS_WIN_1258 306 #endif 307 308 /* 309 * CCS table description structures forward declarations. 310 */ 311 #if defined (ICONV_TO_UCS_CCS_BIG5) \ 312 || defined (ICONV_FROM_UCS_CCS_BIG5) 313 extern const iconv_ccs_t 314 _iconv_ccs_big5; 315 #endif 316 #if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE1) \ 317 || defined (ICONV_FROM_UCS_CCS_CNS11643_PLANE1) 318 extern const iconv_ccs_t 319 _iconv_ccs_cns11643_plane1; 320 #endif 321 #if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE14) \ 322 || defined (ICONV_FROM_UCS_CCS_CNS11643_PLANE14) 323 extern const iconv_ccs_t 324 _iconv_ccs_cns11643_plane14; 325 #endif 326 #if defined (ICONV_TO_UCS_CCS_CNS11643_PLANE2) \ 327 || defined (ICONV_FROM_UCS_CCS_CNS11643_PLANE2) 328 extern const iconv_ccs_t 329 _iconv_ccs_cns11643_plane2; 330 #endif 331 #if defined (ICONV_TO_UCS_CCS_CP775) \ 332 || defined (ICONV_FROM_UCS_CCS_CP775) 333 extern const iconv_ccs_t 334 _iconv_ccs_cp775; 335 #endif 336 #if defined (ICONV_TO_UCS_CCS_CP850) \ 337 || defined (ICONV_FROM_UCS_CCS_CP850) 338 extern const iconv_ccs_t 339 _iconv_ccs_cp850; 340 #endif 341 #if defined (ICONV_TO_UCS_CCS_CP852) \ 342 || defined (ICONV_FROM_UCS_CCS_CP852) 343 extern const iconv_ccs_t 344 _iconv_ccs_cp852; 345 #endif 346 #if defined (ICONV_TO_UCS_CCS_CP855) \ 347 || defined (ICONV_FROM_UCS_CCS_CP855) 348 extern const iconv_ccs_t 349 _iconv_ccs_cp855; 350 #endif 351 #if defined (ICONV_TO_UCS_CCS_CP866) \ 352 || defined (ICONV_FROM_UCS_CCS_CP866) 353 extern const iconv_ccs_t 354 _iconv_ccs_cp866; 355 #endif 356 #if defined (ICONV_TO_UCS_CCS_ISO_8859_1) \ 357 || defined (ICONV_FROM_UCS_CCS_ISO_8859_1) 358 extern const iconv_ccs_t 359 _iconv_ccs_iso_8859_1; 360 #endif 361 #if defined (ICONV_TO_UCS_CCS_ISO_8859_10) \ 362 || defined (ICONV_FROM_UCS_CCS_ISO_8859_10) 363 extern const iconv_ccs_t 364 _iconv_ccs_iso_8859_10; 365 #endif 366 #if defined (ICONV_TO_UCS_CCS_ISO_8859_11) \ 367 || defined (ICONV_FROM_UCS_CCS_ISO_8859_11) 368 extern const iconv_ccs_t 369 _iconv_ccs_iso_8859_11; 370 #endif 371 #if defined (ICONV_TO_UCS_CCS_ISO_8859_13) \ 372 || defined (ICONV_FROM_UCS_CCS_ISO_8859_13) 373 extern const iconv_ccs_t 374 _iconv_ccs_iso_8859_13; 375 #endif 376 #if defined (ICONV_TO_UCS_CCS_ISO_8859_14) \ 377 || defined (ICONV_FROM_UCS_CCS_ISO_8859_14) 378 extern const iconv_ccs_t 379 _iconv_ccs_iso_8859_14; 380 #endif 381 #if defined (ICONV_TO_UCS_CCS_ISO_8859_15) \ 382 || defined (ICONV_FROM_UCS_CCS_ISO_8859_15) 383 extern const iconv_ccs_t 384 _iconv_ccs_iso_8859_15; 385 #endif 386 #if defined (ICONV_TO_UCS_CCS_ISO_8859_2) \ 387 || defined (ICONV_FROM_UCS_CCS_ISO_8859_2) 388 extern const iconv_ccs_t 389 _iconv_ccs_iso_8859_2; 390 #endif 391 #if defined (ICONV_TO_UCS_CCS_ISO_8859_3) \ 392 || defined (ICONV_FROM_UCS_CCS_ISO_8859_3) 393 extern const iconv_ccs_t 394 _iconv_ccs_iso_8859_3; 395 #endif 396 #if defined (ICONV_TO_UCS_CCS_ISO_8859_4) \ 397 || defined (ICONV_FROM_UCS_CCS_ISO_8859_4) 398 extern const iconv_ccs_t 399 _iconv_ccs_iso_8859_4; 400 #endif 401 #if defined (ICONV_TO_UCS_CCS_ISO_8859_5) \ 402 || defined (ICONV_FROM_UCS_CCS_ISO_8859_5) 403 extern const iconv_ccs_t 404 _iconv_ccs_iso_8859_5; 405 #endif 406 #if defined (ICONV_TO_UCS_CCS_ISO_8859_6) \ 407 || defined (ICONV_FROM_UCS_CCS_ISO_8859_6) 408 extern const iconv_ccs_t 409 _iconv_ccs_iso_8859_6; 410 #endif 411 #if defined (ICONV_TO_UCS_CCS_ISO_8859_7) \ 412 || defined (ICONV_FROM_UCS_CCS_ISO_8859_7) 413 extern const iconv_ccs_t 414 _iconv_ccs_iso_8859_7; 415 #endif 416 #if defined (ICONV_TO_UCS_CCS_ISO_8859_8) \ 417 || defined (ICONV_FROM_UCS_CCS_ISO_8859_8) 418 extern const iconv_ccs_t 419 _iconv_ccs_iso_8859_8; 420 #endif 421 #if defined (ICONV_TO_UCS_CCS_ISO_8859_9) \ 422 || defined (ICONV_FROM_UCS_CCS_ISO_8859_9) 423 extern const iconv_ccs_t 424 _iconv_ccs_iso_8859_9; 425 #endif 426 #if defined (ICONV_TO_UCS_CCS_ISO_IR_111) \ 427 || defined (ICONV_FROM_UCS_CCS_ISO_IR_111) 428 extern const iconv_ccs_t 429 _iconv_ccs_iso_ir_111; 430 #endif 431 #if defined (ICONV_TO_UCS_CCS_JIS_X0201_1976) \ 432 || defined (ICONV_FROM_UCS_CCS_JIS_X0201_1976) 433 extern const iconv_ccs_t 434 _iconv_ccs_jis_x0201_1976; 435 #endif 436 #if defined (ICONV_TO_UCS_CCS_JIS_X0208_1990) \ 437 || defined (ICONV_FROM_UCS_CCS_JIS_X0208_1990) 438 extern const iconv_ccs_t 439 _iconv_ccs_jis_x0208_1990; 440 #endif 441 #if defined (ICONV_TO_UCS_CCS_JIS_X0212_1990) \ 442 || defined (ICONV_FROM_UCS_CCS_JIS_X0212_1990) 443 extern const iconv_ccs_t 444 _iconv_ccs_jis_x0212_1990; 445 #endif 446 #if defined (ICONV_TO_UCS_CCS_KOI8_R) \ 447 || defined (ICONV_FROM_UCS_CCS_KOI8_R) 448 extern const iconv_ccs_t 449 _iconv_ccs_koi8_r; 450 #endif 451 #if defined (ICONV_TO_UCS_CCS_KOI8_RU) \ 452 || defined (ICONV_FROM_UCS_CCS_KOI8_RU) 453 extern const iconv_ccs_t 454 _iconv_ccs_koi8_ru; 455 #endif 456 #if defined (ICONV_TO_UCS_CCS_KOI8_U) \ 457 || defined (ICONV_FROM_UCS_CCS_KOI8_U) 458 extern const iconv_ccs_t 459 _iconv_ccs_koi8_u; 460 #endif 461 #if defined (ICONV_TO_UCS_CCS_KOI8_UNI) \ 462 || defined (ICONV_FROM_UCS_CCS_KOI8_UNI) 463 extern const iconv_ccs_t 464 _iconv_ccs_koi8_uni; 465 #endif 466 #if defined (ICONV_TO_UCS_CCS_KSX1001) \ 467 || defined (ICONV_FROM_UCS_CCS_KSX1001) 468 extern const iconv_ccs_t 469 _iconv_ccs_ksx1001; 470 #endif 471 #if defined (ICONV_TO_UCS_CCS_WIN_1250) \ 472 || defined (ICONV_FROM_UCS_CCS_WIN_1250) 473 extern const iconv_ccs_t 474 _iconv_ccs_win_1250; 475 #endif 476 #if defined (ICONV_TO_UCS_CCS_WIN_1251) \ 477 || defined (ICONV_FROM_UCS_CCS_WIN_1251) 478 extern const iconv_ccs_t 479 _iconv_ccs_win_1251; 480 #endif 481 #if defined (ICONV_TO_UCS_CCS_WIN_1252) \ 482 || defined (ICONV_FROM_UCS_CCS_WIN_1252) 483 extern const iconv_ccs_t 484 _iconv_ccs_win_1252; 485 #endif 486 #if defined (ICONV_TO_UCS_CCS_WIN_1253) \ 487 || defined (ICONV_FROM_UCS_CCS_WIN_1253) 488 extern const iconv_ccs_t 489 _iconv_ccs_win_1253; 490 #endif 491 #if defined (ICONV_TO_UCS_CCS_WIN_1254) \ 492 || defined (ICONV_FROM_UCS_CCS_WIN_1254) 493 extern const iconv_ccs_t 494 _iconv_ccs_win_1254; 495 #endif 496 #if defined (ICONV_TO_UCS_CCS_WIN_1255) \ 497 || defined (ICONV_FROM_UCS_CCS_WIN_1255) 498 extern const iconv_ccs_t 499 _iconv_ccs_win_1255; 500 #endif 501 #if defined (ICONV_TO_UCS_CCS_WIN_1256) \ 502 || defined (ICONV_FROM_UCS_CCS_WIN_1256) 503 extern const iconv_ccs_t 504 _iconv_ccs_win_1256; 505 #endif 506 #if defined (ICONV_TO_UCS_CCS_WIN_1257) \ 507 || defined (ICONV_FROM_UCS_CCS_WIN_1257) 508 extern const iconv_ccs_t 509 _iconv_ccs_win_1257; 510 #endif 511 #if defined (ICONV_TO_UCS_CCS_WIN_1258) \ 512 || defined (ICONV_FROM_UCS_CCS_WIN_1258) 513 extern const iconv_ccs_t 514 _iconv_ccs_win_1258; 515 #endif 516 517 #endif /* !_ICONV_ENABLE_EXTERNAL_CCS */ 518 519 520 #endif /* __CCSBI_H__ */ 521 522