xref: /csrg-svn/usr.bin/tn3270/api/asc_ebc.h (revision 33820)
131604Sminshall /*
2*33820Sbostic  * Copyright (c) 1988 Regents of the University of California.
3*33820Sbostic  * All rights reserved.
431890Sminshall  *
5*33820Sbostic  * Redistribution and use in source and binary forms are permitted
6*33820Sbostic  * provided that this notice is preserved and that due credit is given
7*33820Sbostic  * to the University of California at Berkeley. The name of the University
8*33820Sbostic  * may not be used to endorse or promote products derived from this
9*33820Sbostic  * software without specific prior written permission. This software
10*33820Sbostic  * is provided ``as is'' without express or implied warranty.
11*33820Sbostic  *
12*33820Sbostic  *	@(#)asc_ebc.h	3.2 (Berkeley) 03/28/88
1331604Sminshall  */
1431604Sminshall 
15*33820Sbostic /*
16*33820Sbostic  * Definitions of translate tables used for ascii<->ebcdic translation.
17*33820Sbostic  */
18*33820Sbostic 
1931604Sminshall #define	INCLUDED_ASCEBC
2031604Sminshall 
2131604Sminshall /*
2231604Sminshall  * ascii/ebcdic translation information
2331604Sminshall  */
2431604Sminshall 
2531604Sminshall #define	NASCII	128		/* number of ascii characters */
2631604Sminshall 
2731604Sminshall #define	NEBC	256		/* number of ebcdic characters */
2831604Sminshall 
2931604Sminshall extern unsigned char
3031604Sminshall 	asc_ebc[NASCII], ebc_asc[NEBC];
31