1 /* 2 * Copyright (c) 1988 Regents of the University of California. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms are permitted 6 * provided that this notice is preserved and that due credit is given 7 * to the University of California at Berkeley. The name of the University 8 * may not be used to endorse or promote products derived from this 9 * software without specific prior written permission. This software 10 * is provided ``as is'' without express or implied warranty. 11 * 12 * @(#)ascebc.h 1.2 (Berkeley) 03/28/88 13 */ 14 15 #define INCLUDED_ASCEBC 16 17 /* 18 * ascii/ebcdic translation information 19 */ 20 21 #define NASCII 128 /* number of ascii characters */ 22 #define NASCEBC 4 /* number of ascii to ebcdic tables */ 23 24 #define AE_NO -1 /* no translation - user has already done it */ 25 #define AE_PR 0 /* ascii to ebcdic "print" translation */ 26 #define AE_IN 1 /* ascii to ebcdic "input" translation */ 27 #define AE_SP 2 /* ascii to ebcdic special translation */ 28 #define AE_TX 3 /* ascii to ebcdic pure text translation */ 29 30 #define NEBC 256 /* number of ebcdic characters */ 31 #define NEBCASC 1 /* number of ebcdic to ascii tables */ 32 33 extern unsigned char 34 ascebc[NASCEBC][NASCII], 35 ebcasc[NEBCASC][NEBC]; 36