1ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/*
2ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ******************************************************************************
3ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *
4ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *   Copyright (C) 1998-2006, International Business Machines
5ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *   Corporation and others.  All Rights Reserved.
6ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *
7ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru ******************************************************************************
8ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *
9ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *
10ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *  ucnvstat.c:
11ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru *  UConverterStaticData prototypes for data based converters
12ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru */
13ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru
14ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#include "unicode/utypes.h"
15ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#include "unicode/ucnv.h"
16ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru#include "ucnv_bld.h"
17ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru
18ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru
19ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic const UConverterStaticData _SBCSStaticData={
20ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    sizeof(UConverterStaticData),
21ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    "SBCS",
22ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0, UCNV_IBM, UCNV_SBCS, 1, 1,
23ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    { 0x1a, 0, 0, 0 }, 1, FALSE, FALSE,
24ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0,
25ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0,
26ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
27ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru};
28ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru
29ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru
30ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic const UConverterStaticData _DBCSStaticData={
31ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    sizeof(UConverterStaticData),
32ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    "DBCS",
33ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0, UCNV_IBM, UCNV_DBCS, 2, 2,
34ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    { 0, 0, 0, 0 },0, FALSE, FALSE, /* subchar */
35ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0,
36ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0,
37ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
38ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru};
39ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru
40ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic const UConverterStaticData _MBCSStaticData={
41ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    sizeof(UConverterStaticData),
42ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    "MBCS",
43ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0, UCNV_IBM, UCNV_MBCS, 1, 1,
44ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    { 0x1a, 0, 0, 0 }, 1, FALSE, FALSE,
45ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0,
46ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0,
47ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
48ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru};
49ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru
50ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Querustatic const UConverterStaticData _EBCDICStatefulStaticData={
51ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    sizeof(UConverterStaticData),
52ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    "EBCDICStateful",
53ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0, UCNV_IBM, UCNV_EBCDIC_STATEFUL, 1, 1,
54ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    { 0, 0, 0, 0 },0, FALSE, FALSE,
55ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0,
56ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    0,
57ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } /* reserved */
58ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru};
59ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru
60ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru/* NULLs for algorithmic types, their tables live in ucnv_bld.c */
61ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queruconst UConverterStaticData *ucnv_converterStaticData[UCNV_NUMBER_OF_SUPPORTED_CONVERTER_TYPES]={
62ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    &_SBCSStaticData, &_DBCSStaticData, &_MBCSStaticData, NULL/*Lat1*/,
63ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    NULL/*UTF8*/, NULL/*UTF16be*/, NULL/*UTF16LE*/, NULL/*UTF32be*/, NULL/*UTF32LE*/, &_EBCDICStatefulStaticData,
64ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    NULL/*ISO2022*/,
65ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru    /* LMBCS */ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
66ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru};
67ac04d0bbe12b3ef54518635711412f178cb4d16Jean-Baptiste Queru
68