date and time created 87/05/31 14:34:19 by minshall
[unix-history] / usr / src / usr.bin / tn3270 / api / astosc.h
CommitLineData
d1e5dec9
GM
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
13struct astosc {
14 unsigned char
15 scancode, /* Scan code for this function */
16 shiftstate; /* Shift state for this function */
17 char *name; /* Name of this function */
18};
19
20int ascii_to_index(); /* Function to feed InitControl() */