# 2.11BSD#431 - /usr/src/libexec/getty/gettytab.h

##### Macros

    AB                X
    AP                X
    APset             X
    BK                X
    CB                X
    CE                X
    CK                X
    CL                X
    CO                X
    DS                X
    DX                X
    EC                X
    EP                X
    EPset             X
    ER                X
    ET                X
    EV                X
    F0                X
    F0set             X
    F1                X
    F1set             X
    F2                X
    F2set             X
    FL                X
    HC                X
    HE                X
    HF                X
    HN                X
    HT                X
    IG                X
    IM                X
    IN                X
    IS                X
    KL                X
    LM                X
    LN                X
    LO                X
    NL                X
    NX                X
    OP                X
    OPset             X
    OS                X
    PC                X
    PE                X
    PF                X
    PS                X
    QU                X
    RP                X
    RW                X
    SP                X
    SU                X
    TO                X
    TT                X
    UB                X
    WE                X
    XC                X
    XF                X
    XN                X

##### struct's

    gettyflags        X
    gettynums         X
    gettystrs         X

       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.2 (2.11BSD GTE) 1997/3/28
       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 TO  gettynums[3].value
      68: #define F0  gettynums[4].value
      69: #define F0set   gettynums[4].set
      70: #define F1  gettynums[5].value
      71: #define F1set   gettynums[5].set
      72: #define F2  gettynums[6].value
      73: #define F2set   gettynums[6].set
      74: #define PF  gettynums[7].value
      75:
      76: /*
      77:  * Boolean values.
      78:  */
      79: #define HT  gettyflags[0].value
      80: #define NL  gettyflags[1].value
      81: #define EP  gettyflags[2].value
      82: #define EPset   gettyflags[2].set
      83: #define OP  gettyflags[3].value
      84: #define OPset   gettyflags[2].set
      85: #define AP  gettyflags[4].value
      86: #define APset   gettyflags[2].set
      87: #define EC  gettyflags[5].value
      88: #define CO  gettyflags[6].value
      89: #define CB  gettyflags[7].value
      90: #define CK  gettyflags[8].value
      91: #define CE  gettyflags[9].value
      92: #define PE  gettyflags[10].value
      93: #define RW  gettyflags[11].value
      94: #define XC  gettyflags[12].value
      95: #define IG  gettyflags[13].value
      96: #define PS  gettyflags[14].value
      97: #define HC  gettyflags[15].value
      98: #define UB  gettyflags[16].value
      99: #define AB  gettyflags[17].value
     100: #define DX  gettyflags[18].value
     101: #define HF  gettyflags[19].value
     102:
     103: int getent();
     104: long    getnum();
     105: int getflag();
     106: char    *getstr();
     107:
     108: long    setflags();
     109:
     110: extern  struct gettyflags gettyflags[];
     111: extern  struct gettynums gettynums[];
     112: extern  struct gettystrs gettystrs[];
     113: extern  int hopcount;

#### Defined struct's

gettyflags defined in line 25; used 10 times

- in line 110(2)
- in /usr/src/libexec/getty/init.c line 64(2)
- in /usr/src/libexec/getty/subr.c line 29(2), 62(2), 81(2)

gettynums defined in line 18; used 10 times

- in line 111(2)
- in /usr/src/libexec/getty/init.c line 52(2)
- in /usr/src/libexec/getty/subr.c line 28(2), 61(2), 80(2)

gettystrs defined in line 12; used 10 times

- in line 112(2)
- in /usr/src/libexec/getty/init.c line 24(2)
- in /usr/src/libexec/getty/subr.c line 27(2), 60(2), 79(2)

#### Defined macros

AB defined in line 99; used 1 times

- in /usr/src/libexec/getty/main.c line 189

AP defined in line 85; used 1 times

- in /usr/src/libexec/getty/subr.c line 145

APset defined in line 86; used 2 times

- in /usr/src/libexec/getty/main.c line 170-171(2)

BK defined in line 53; used 1 times

- in /usr/src/libexec/getty/subr.c line 96

CB defined in line 89; used 1 times

- in /usr/src/libexec/getty/subr.c line 168

CE defined in line 91; used 1 times

- in /usr/src/libexec/getty/subr.c line 170

CK defined in line 90; used 1 times

- in /usr/src/libexec/getty/subr.c line 172

CL defined in line 37; used 3 times

- in /usr/src/libexec/getty/main.c line 199-200(3)

CO defined in line 88; used 1 times

- in /usr/src/libexec/getty/main.c line 408

DS defined in line 55; used 1 times

- in /usr/src/libexec/getty/subr.c line 97

DX defined in line 100; used 1 times

- in /usr/src/libexec/getty/subr.c line 180

EC defined in line 87; used 1 times

- in /usr/src/libexec/getty/subr.c line 176

EP defined in line 81; used 1 times

- in /usr/src/libexec/getty/subr.c line 149

EPset defined in line 82; used 2 times

- in /usr/src/libexec/getty/main.c line 170-171(2)

ER defined in line 40; used 1 times

- in /usr/src/libexec/getty/subr.c line 96

ET defined in line 42; used 1 times

- in /usr/src/libexec/getty/subr.c line 96

EV defined in line 45; used 1 times

- in /usr/src/libexec/getty/subr.c line 279

F0 defined in line 68; used 1 times

- in /usr/src/libexec/getty/subr.c line 131

F0set defined in line 69; used 1 times

- in /usr/src/libexec/getty/subr.c line 130

F1 defined in line 70; used 1 times

- in /usr/src/libexec/getty/subr.c line 135

F1set defined in line 71; used 1 times

- in /usr/src/libexec/getty/subr.c line 134

F2 defined in line 72; used 1 times

- in /usr/src/libexec/getty/subr.c line 139

F2set defined in line 73; used 1 times

- in /usr/src/libexec/getty/subr.c line 138

FL defined in line 57; used 1 times

- in /usr/src/libexec/getty/subr.c line 97

HC defined in line 97; used 1 times

- in /usr/src/libexec/getty/main.c line 187

HE defined in line 48; used 1 times

- in /usr/src/libexec/getty/main.c line 201

HF defined in line 101; used 1 times

- in /usr/src/libexec/getty/subr.c line 151

HN defined in line 47; used 1 times

- in /usr/src/libexec/getty/subr.c line 190

HT defined in line 79; used 1 times

- in /usr/src/libexec/getty/subr.c line 164

IG defined in line 95; used 1 times

- in /usr/src/libexec/getty/main.c line 311

IM defined in line 38; used 3 times

- in /usr/src/libexec/getty/main.c line 202-203(3)

IN defined in line 49; used 1 times

- in /usr/src/libexec/getty/subr.c line 96

IS defined in line 64; used 2 times

- in /usr/src/libexec/getty/main.c line 174-175(2)

KL defined in line 41; used 1 times

- in /usr/src/libexec/getty/subr.c line 96

LM defined in line 39; used 1 times

- in /usr/src/libexec/getty/main.c line 407

LN defined in line 59; used 1 times

- in /usr/src/libexec/getty/subr.c line 97

LO defined in line 46; used 1 times

- in /usr/src/libexec/getty/main.c line 233

NL defined in line 80; used 2 times

- in /usr/src/libexec/getty/main.c line 224
- in /usr/src/libexec/getty/subr.c line 153

NX defined in line 36; used 3 times

- in /usr/src/libexec/getty/main.c line 239-240(3)

OP defined in line 83; used 2 times

- in /usr/src/libexec/getty/main.c line 387
- in /usr/src/libexec/getty/subr.c line 147

OPset defined in line 84; used 2 times

- in /usr/src/libexec/getty/main.c line 170-171(2)

OS defined in line 65; used 2 times

- in /usr/src/libexec/getty/main.c line 178-179(2)

PC defined in line 43; used 1 times

- in /usr/src/libexec/getty/main.c line 367

PE defined in line 92; used 1 times

- in /usr/src/libexec/getty/subr.c line 174

PF defined in line 74; used 3 times

- in /usr/src/libexec/getty/main.c line 262-265(3)

PS defined in line 96; used 1 times

- in /usr/src/libexec/getty/main.c line 195

QU defined in line 50; used 1 times

- in /usr/src/libexec/getty/subr.c line 96

RP defined in line 56; used 1 times

- in /usr/src/libexec/getty/subr.c line 97

RW defined in line 93; used 1 times

- in /usr/src/libexec/getty/subr.c line 157

SP defined in line 66; used 4 times

- in /usr/src/libexec/getty/main.c line 176-181(4)

SU defined in line 54; used 1 times

- in /usr/src/libexec/getty/subr.c line 97

TO defined in line 67; used 2 times

- in /usr/src/libexec/getty/main.c line 209-211(2)

TT defined in line 44; used 3 times

- in /usr/src/libexec/getty/subr.c line 275-276(3)

UB defined in line 98; used 1 times

- in /usr/src/libexec/getty/main.c line 389

WE defined in line 58; used 1 times

- in /usr/src/libexec/getty/subr.c line 97

XC defined in line 94; used 1 times

- in /usr/src/libexec/getty/subr.c line 178

XF defined in line 52; used 1 times

- in /usr/src/libexec/getty/subr.c line 96

XN defined in line 51; used 1 times

- in /usr/src/libexec/getty/subr.c line 96

#### Usage of this include

gettytab.h used 3 times

- in /usr/src/libexec/getty/init.c line 17
- in /usr/src/libexec/getty/main.c line 27
- in /usr/src/libexec/getty/subr.c line 15

Last modified: 1997-03-29 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1121 |