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
gettynums defined in line 18; used 10 times
gettystrs defined in line 12; used 10 times

Defined macros

AB defined in line 99; used 1 times
AP defined in line 85; used 1 times
APset defined in line 86; used 2 times
BK defined in line 53; used 1 times
CB defined in line 89; used 1 times
CE defined in line 91; used 1 times
CK defined in line 90; used 1 times
CL defined in line 37; used 3 times
CO defined in line 88; used 1 times
DS defined in line 55; used 1 times
DX defined in line 100; used 1 times
EC defined in line 87; used 1 times
EP defined in line 81; used 1 times
EPset defined in line 82; used 2 times
ER defined in line 40; used 1 times
ET defined in line 42; used 1 times
EV defined in line 45; used 1 times
F0 defined in line 68; used 1 times
F0set defined in line 69; used 1 times
F1 defined in line 70; used 1 times
F1set defined in line 71; used 1 times
F2 defined in line 72; used 1 times
F2set defined in line 73; used 1 times
FL defined in line 57; used 1 times
HC defined in line 97; used 1 times
HE defined in line 48; used 1 times
HF defined in line 101; used 1 times
HN defined in line 47; used 1 times
HT defined in line 79; used 1 times
IG defined in line 95; used 1 times
IM defined in line 38; used 3 times
IN defined in line 49; used 1 times
IS defined in line 64; used 2 times
KL defined in line 41; used 1 times
LM defined in line 39; used 1 times
LN defined in line 59; used 1 times
LO defined in line 46; used 1 times
NL defined in line 80; used 2 times
NX defined in line 36; used 3 times
OP defined in line 83; used 2 times
OPset defined in line 84; used 2 times
OS defined in line 65; used 2 times
PC defined in line 43; used 1 times
PE defined in line 92; used 1 times
PF defined in line 74; used 3 times
PS defined in line 96; used 1 times
QU defined in line 50; used 1 times
RP defined in line 56; used 1 times
RW defined in line 93; used 1 times
SP defined in line 66; used 4 times
SU defined in line 54; used 1 times
TO defined in line 67; used 2 times
TT defined in line 44; used 3 times
UB defined in line 98; used 1 times
WE defined in line 58; used 1 times
XC defined in line 94; used 1 times
XF defined in line 52; used 1 times
XN defined in line 51; used 1 times

Usage of this include

Last modified: 1997-03-29
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1297
Valid CSS Valid XHTML 1.0 Strict