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