Annotation of 43BSDTahoe/ucb/tn3270/api/astosc.h, revision 1.1.1.1

1.1       root        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:  *     @(#)astosc.h    3.2 (Berkeley) 3/28/88
                     13:  */
                     14: 
                     15: /*
                     16:  * This defines the structure used to translate:
                     17:  *
                     18:  *     ascii name ==> (scancode, shiftstate)
                     19:  *
                     20:  * (Actually, map3270 does "ascii name ==> index", and
                     21:  * termin does "index ==> (scancode, shiftstate)".  Both
                     22:  * mappings use this structure.)
                     23:  */
                     24: 
                     25: #define        INCLUDED_ASTOSC
                     26: 
                     27: struct astosc {
                     28:     unsigned char
                     29:        scancode,               /* Scan code for this function */
                     30:        shiftstate;             /* Shift state for this function */
                     31:     enum ctlrfcn function;     /* Internal function identifier */
                     32:     char *name;                        /* Name of this function */
                     33: };
                     34: 
                     35: int ascii_to_index();          /* Function to feed InitControl() */
                     36: 
                     37: extern struct astosc astosc[256];

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.