xref: /titanic_51/usr/src/lib/iconv_modules/euro/common/euro.h (revision 91e1e26ac6a73ce959289cf7d3d96c4baedbe0b8)
1*91e1e26aSAlexander Pyhalov /*
2*91e1e26aSAlexander Pyhalov  * CDDL HEADER START
3*91e1e26aSAlexander Pyhalov  *
4*91e1e26aSAlexander Pyhalov  * The contents of this file are subject to the terms of the
5*91e1e26aSAlexander Pyhalov  * Common Development and Distribution License (the "License").
6*91e1e26aSAlexander Pyhalov  * You may not use this file except in compliance with the License.
7*91e1e26aSAlexander Pyhalov  *
8*91e1e26aSAlexander Pyhalov  * You can obtain a copy of the license at src/OPENSOLARIS.LICENSE
9*91e1e26aSAlexander Pyhalov  * or http://www.opensolaris.org/os/licensing.
10*91e1e26aSAlexander Pyhalov  * See the License for the specific language governing permissions
11*91e1e26aSAlexander Pyhalov  * and limitations under the License.
12*91e1e26aSAlexander Pyhalov  *
13*91e1e26aSAlexander Pyhalov  * When distributing Covered Code, include this CDDL HEADER in each
14*91e1e26aSAlexander Pyhalov  * file and include the License file at src/OPENSOLARIS.LICENSE.
15*91e1e26aSAlexander Pyhalov  * If applicable, add the following below this CDDL HEADER, with the
16*91e1e26aSAlexander Pyhalov  * fields enclosed by brackets "[]" replaced with your own identifying
17*91e1e26aSAlexander Pyhalov  * information: Portions Copyright [yyyy] [name of copyright owner]
18*91e1e26aSAlexander Pyhalov  *
19*91e1e26aSAlexander Pyhalov  * CDDL HEADER END
20*91e1e26aSAlexander Pyhalov  */
21*91e1e26aSAlexander Pyhalov /*
22*91e1e26aSAlexander Pyhalov  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23*91e1e26aSAlexander Pyhalov  * Use is subject to license terms.
24*91e1e26aSAlexander Pyhalov  */
25*91e1e26aSAlexander Pyhalov 
26*91e1e26aSAlexander Pyhalov #ifndef	EURO_H
27*91e1e26aSAlexander Pyhalov #define	EURO_H
28*91e1e26aSAlexander Pyhalov 
29*91e1e26aSAlexander Pyhalov 
30*91e1e26aSAlexander Pyhalov #define	MAGIC_NUMBER			201201
31*91e1e26aSAlexander Pyhalov 
32*91e1e26aSAlexander Pyhalov /*
33*91e1e26aSAlexander Pyhalov  * Excerpt from ../utf-8/common_defs.h
34*91e1e26aSAlexander Pyhalov  */
35*91e1e26aSAlexander Pyhalov #define	ICV_TYPE_ILLEGAL_CHAR		(-2)
36*91e1e26aSAlexander Pyhalov 
37*91e1e26aSAlexander Pyhalov typedef struct {
38*91e1e26aSAlexander Pyhalov 	unsigned char	ch;
39*91e1e26aSAlexander Pyhalov 	signed char	sz;
40*91e1e26aSAlexander Pyhalov } table_component_t;
41*91e1e26aSAlexander Pyhalov 
42*91e1e26aSAlexander Pyhalov 
43*91e1e26aSAlexander Pyhalov /*
44*91e1e26aSAlexander Pyhalov  * Mapping table
45*91e1e26aSAlexander Pyhalov  * tbl.h generated from tbls/ files using ./genincl script
46*91e1e26aSAlexander Pyhalov  */
47*91e1e26aSAlexander Pyhalov static const table_component_t tbl[256] = {
48*91e1e26aSAlexander Pyhalov 
49*91e1e26aSAlexander Pyhalov #include "tbl.h"
50*91e1e26aSAlexander Pyhalov 
51*91e1e26aSAlexander Pyhalov };
52*91e1e26aSAlexander Pyhalov 
53*91e1e26aSAlexander Pyhalov #endif	/* EURO_H */
54