xref: /illumos-gate/usr/src/lib/iconv_modules/hi_IN/include/pc-iscii.h (revision 43449cdcd0600512dd862537f2cf014140dd0844)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
21 /*
22  * Copyright(c) 2001 Sun Microsystems, Inc.
23  * All rights reserved.
24  */
25 
26 #ifndef _PC_ISCII_H_
27 #define _PC_ISCII_H_
28 
29 #define uchar unsigned char
30 
31 typedef struct _entry {
32     uchar pc_iscii;
33     uchar iscii;
34     int   count;
35 } Entry;
36 
37 Entry  pciscii_isc_tbl[] = {
38     { 0x80, 0xA1, 48 },
39     { 0xE0, 0xEF, 1  },
40     { 0xE1, 0xD1, 15 },
41     { 0xF0, 0xF0, 1  },
42     { 0xF1, 0xE0, 11 }
43 };
44 
45 Entry isc_pciscii_tbl[] = {
46     { 0x80, 0xA1, 48 },
47     { 0xE1, 0xD1, 15 },
48     { 0xF1, 0xE0, 11 },
49     { 0xE0, 0xEF, 1  },
50     { 0xF0, 0xF0, 1  },
51     { 0x30, 0xF1, 10 } /* convert Iscii numerals to ascii numerals */
52 };
53 
54 #endif
55