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;

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 106; used 1 times
AP defined in line 90; used 1 times
APset defined in line 91; used 2 times
BD defined in line 71; used 1 times
BK defined in line 53; used 1 times
CB defined in line 94; used 1 times
CD defined in line 68; used 1 times
CE defined in line 96; used 1 times
CK defined in line 95; used 1 times
CL defined in line 37; used 3 times
CO defined in line 93; used 1 times
DS defined in line 55; used 1 times
DX defined in line 107; used 1 times
EC defined in line 92; used 1 times
EP defined in line 86; used 1 times
EPset defined in line 87; 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 73; used 1 times
F0set defined in line 74; used 1 times
F1 defined in line 75; used 1 times
F1set defined in line 76; used 1 times
F2 defined in line 77; used 1 times
F2set defined in line 78; used 1 times
FD defined in line 70; used 1 times
FL defined in line 57; used 1 times
HC defined in line 104; used 1 times
HE defined in line 48; used 1 times
HN defined in line 47; used 1 times
HT defined in line 84; used 1 times
IG defined in line 102; 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
LC defined in line 100; used 2 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
ND defined in line 67; used 1 times
NL defined in line 85; used 2 times
NX defined in line 36; used 3 times
OP defined in line 88; used 2 times
OPset defined in line 89; used 2 times
OS defined in line 65; used 2 times
PC defined in line 43; used 1 times
PE defined in line 97; used 1 times
PF defined in line 79; used 3 times
PS defined in line 103; used 1 times
QU defined in line 50; used 1 times
RP defined in line 56; used 1 times
RW defined in line 98; used 1 times
SP defined in line 66; used 4 times
SU defined in line 54; used 1 times
TD defined in line 69; used 1 times
TO defined in line 72; used 2 times
TT defined in line 44; used 3 times
UB defined in line 105; used 1 times
UC defined in line 101; used 3 times
WE defined in line 58; used 1 times
XC defined in line 99; 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: 1986-01-11
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1692
Valid CSS Valid XHTML 1.0 Strict