xref: /csrg-svn/usr.bin/tn3270/api/astosc.h (revision 31245)
1 /*
2  * This defines the structure used to translate:
3  *
4  *	ascii name ==> (scancode, shiftstate)
5  *
6  * (Actually, map3270 does "ascii name ==> index", and
7  * termin does "index ==> (scancode, shiftstate)".  Both
8  * mappings use this structure.)
9  */
10 
11 #define	INCLUDED_ASTOSC
12 
13 struct astosc {
14     unsigned char
15 	scancode,		/* Scan code for this function */
16 	shiftstate;		/* Shift state for this function */
17     enum ctlrfcn function;	/* Internal function identifier */
18     char *name;			/* Name of this function */
19 };
20 
21 int ascii_to_index();		/* Function to feed InitControl() */
22