Annotation of 43BSDTahoe/etc/getty/gettytab.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1980 Regents of the University of California.
        !             3:  * All rights reserved.  The Berkeley software License Agreement
        !             4:  * specifies the terms and conditions for redistribution.
        !             5:  *
        !             6:  *     @(#)gettytab.h  5.2 (Berkeley) 1/7/86
        !             7:  */
        !             8: 
        !             9: /*
        !            10:  * Getty description definitions.
        !            11:  */
        !            12: struct gettystrs {
        !            13:        char    *field;         /* name to lookup in gettytab */
        !            14:        char    *defalt;        /* value we find by looking in defaults */
        !            15:        char    *value;         /* value that we find there */
        !            16: };
        !            17: 
        !            18: struct gettynums {
        !            19:        char    *field;         /* name to lookup */
        !            20:        long    defalt;         /* number we find in defaults */
        !            21:        long    value;          /* number we find there */
        !            22:        int     set;            /* we actually got this one */
        !            23: };
        !            24: 
        !            25: struct gettyflags {
        !            26:        char    *field;         /* name to lookup */
        !            27:        char    invrt;          /* name existing in gettytab --> false */
        !            28:        char    defalt;         /* true/false in defaults */
        !            29:        char    value;          /* true/false flag */
        !            30:        char    set;            /* we found it */
        !            31: };
        !            32: 
        !            33: /*
        !            34:  * String values.
        !            35:  */
        !            36: #define        NX      gettystrs[0].value
        !            37: #define        CL      gettystrs[1].value
        !            38: #define IM     gettystrs[2].value
        !            39: #define        LM      gettystrs[3].value
        !            40: #define        ER      gettystrs[4].value
        !            41: #define        KL      gettystrs[5].value
        !            42: #define        ET      gettystrs[6].value
        !            43: #define        PC      gettystrs[7].value
        !            44: #define        TT      gettystrs[8].value
        !            45: #define        EV      gettystrs[9].value
        !            46: #define        LO      gettystrs[10].value
        !            47: #define HN     gettystrs[11].value
        !            48: #define HE     gettystrs[12].value
        !            49: #define IN     gettystrs[13].value
        !            50: #define QU     gettystrs[14].value
        !            51: #define XN     gettystrs[15].value
        !            52: #define XF     gettystrs[16].value
        !            53: #define BK     gettystrs[17].value
        !            54: #define SU     gettystrs[18].value
        !            55: #define DS     gettystrs[19].value
        !            56: #define RP     gettystrs[20].value
        !            57: #define FL     gettystrs[21].value
        !            58: #define WE     gettystrs[22].value
        !            59: #define LN     gettystrs[23].value
        !            60: 
        !            61: /*
        !            62:  * Numeric definitions.
        !            63:  */
        !            64: #define        IS      gettynums[0].value
        !            65: #define        OS      gettynums[1].value
        !            66: #define        SP      gettynums[2].value
        !            67: #define        ND      gettynums[3].value
        !            68: #define        CD      gettynums[4].value
        !            69: #define        TD      gettynums[5].value
        !            70: #define        FD      gettynums[6].value
        !            71: #define        BD      gettynums[7].value
        !            72: #define        TO      gettynums[8].value
        !            73: #define        F0      gettynums[9].value
        !            74: #define        F0set   gettynums[9].set
        !            75: #define        F1      gettynums[10].value
        !            76: #define        F1set   gettynums[10].set
        !            77: #define        F2      gettynums[11].value
        !            78: #define        F2set   gettynums[11].set
        !            79: #define        PF      gettynums[12].value
        !            80: 
        !            81: /*
        !            82:  * Boolean values.
        !            83:  */
        !            84: #define        HT      gettyflags[0].value
        !            85: #define        NL      gettyflags[1].value
        !            86: #define        EP      gettyflags[2].value
        !            87: #define        EPset   gettyflags[2].set
        !            88: #define        OP      gettyflags[3].value
        !            89: #define        OPset   gettyflags[2].set
        !            90: #define        AP      gettyflags[4].value
        !            91: #define        APset   gettyflags[2].set
        !            92: #define        EC      gettyflags[5].value
        !            93: #define        CO      gettyflags[6].value
        !            94: #define        CB      gettyflags[7].value
        !            95: #define        CK      gettyflags[8].value
        !            96: #define        CE      gettyflags[9].value
        !            97: #define        PE      gettyflags[10].value
        !            98: #define        RW      gettyflags[11].value
        !            99: #define        XC      gettyflags[12].value
        !           100: #define        LC      gettyflags[13].value
        !           101: #define        UC      gettyflags[14].value
        !           102: #define        IG      gettyflags[15].value
        !           103: #define        PS      gettyflags[16].value
        !           104: #define        HC      gettyflags[17].value
        !           105: #define UB     gettyflags[18].value
        !           106: #define AB     gettyflags[19].value
        !           107: #define DX     gettyflags[20].value
        !           108: 
        !           109: int    getent();
        !           110: long   getnum();
        !           111: int    getflag();
        !           112: char   *getstr();
        !           113: 
        !           114: extern struct gettyflags gettyflags[];
        !           115: extern struct gettynums gettynums[];
        !           116: extern struct gettystrs gettystrs[];
        !           117: extern int hopcount;

unix.superglobalmegacorp.com

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