xref: /illumos-gate/usr/src/lib/libxcurses/h/variant.h (revision e86372a01d2d16a5dd4a64e144ed978ba17fe7dd)
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, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  */
22 /*
23  * Copyright (c) 1996, by Sun Microsystems, Inc.
24  * All rights reserved.
25  */
26 
27 #pragma ident	"%Z%%M%	%I%	%E% SMI"
28 
29 /*
30  * Copyright 1993 by Mortice Kern Systems Inc.  All rights reserved.
31  *
32  * $Header: /rd/h/rcs/variant.h 1.2 1994/01/24 23:12:41 mark Exp $
33  */
34 
35  /*
36  * For EBCDIC support:
37  *    the variant structure that contains the 13 POSIX.2 portable characters
38  *    that are variant in EBCDIC based code pages.
39  */
40 
41 #ifndef __M_VARIANT_H__
42 #define	__M_VARIANT_H__
43 
44 struct variant {
45 	char	*codeset;
46 	char	backslash;
47 	char	right_bracket;
48 	char	left_bracket;
49 	char	right_brace;
50 	char	left_brace;
51 	char	circumflex;
52 	char	tilde;
53 	char	exclamation_mark;
54 	char	number_sign;
55 	char	vertical_line;
56 	char	dollar_sign;
57 	char	commercial_at;
58 	char	grave_accent;
59 };
60 
61 struct variant *getsyntx(void);
62 
63 #endif	/* __M_VARIANT_H__ */
64