131241Sminshall /* 231241Sminshall * This defines the structure used to translate: 331241Sminshall * 431241Sminshall * ascii name ==> (scancode, shiftstate) 531241Sminshall * 631241Sminshall * (Actually, map3270 does "ascii name ==> index", and 731241Sminshall * termin does "index ==> (scancode, shiftstate)". Both 831241Sminshall * mappings use this structure.) 931241Sminshall */ 1031241Sminshall 1131241Sminshall #define INCLUDED_ASTOSC 1231241Sminshall 1331241Sminshall struct astosc { 1431241Sminshall unsigned char 1531241Sminshall scancode, /* Scan code for this function */ 1631241Sminshall shiftstate; /* Shift state for this function */ 17*31245Sminshall enum ctlrfcn function; /* Internal function identifier */ 1831241Sminshall char *name; /* Name of this function */ 1931241Sminshall }; 2031241Sminshall 2131241Sminshall int ascii_to_index(); /* Function to feed InitControl() */ 22