2 ******************************************************************************
4 * Copyright (C) 1998-2006, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 ******************************************************************************
11 * UConverterStaticData prototypes for data based converters
14 #include "unicode/utypes.h"
15 #include "unicode/ucnv.h"
19 static const UConverterStaticData _SBCSStaticData
={
20 sizeof(UConverterStaticData
),
22 0, UCNV_IBM
, UCNV_SBCS
, 1, 1,
23 { 0x1a, 0, 0, 0 }, 1, FALSE
, FALSE
,
26 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
30 static const UConverterStaticData _DBCSStaticData
={
31 sizeof(UConverterStaticData
),
33 0, UCNV_IBM
, UCNV_DBCS
, 2, 2,
34 { 0, 0, 0, 0 },0, FALSE
, FALSE
, /* subchar */
37 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
40 static const UConverterStaticData _MBCSStaticData
={
41 sizeof(UConverterStaticData
),
43 0, UCNV_IBM
, UCNV_MBCS
, 1, 1,
44 { 0x1a, 0, 0, 0 }, 1, FALSE
, FALSE
,
47 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
50 static const UConverterStaticData _EBCDICStatefulStaticData
={
51 sizeof(UConverterStaticData
),
53 0, UCNV_IBM
, UCNV_EBCDIC_STATEFUL
, 1, 1,
54 { 0, 0, 0, 0 },0, FALSE
, FALSE
,
57 { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
60 /* NULLs for algorithmic types, their tables live in ucnv_bld.c */
61 const UConverterStaticData
*ucnv_converterStaticData
[UCNV_NUMBER_OF_SUPPORTED_CONVERTER_TYPES
]={
62 &_SBCSStaticData
, &_DBCSStaticData
, &_MBCSStaticData
, NULL
/*Lat1*/,
63 NULL
/*UTF8*/, NULL
/*UTF16be*/, NULL
/*UTF16LE*/, NULL
/*UTF32be*/, NULL
/*UTF32LE*/, &_EBCDICStatefulStaticData
,
65 /* LMBCS */ NULL
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL
, NULL