1: /*  some definitions */
   2: #define HOSTNAMESIZE 32
   3: #define TRUE 1
   4: #define FALSE 0
   5: #define bool char
   6: #define COMMANDSIZE 450
   7: #define PATHSIZE 100
   8: #define BIDCMD "dbid"
   9: 
  10: /* some basic functions */
  11: #define new(q) ((q *)malloc(sizeof(q)))
  12: #define swab(a) ((a&0xff)<<8 | (a&0xff00)>>8)
  13: 
  14: /*
  15:  *	the hosts to use
  16:  */
  17: struct hostdef {
  18:     char    h_name[HOSTNAMESIZE];   /* name of this host */
  19:     char    h_user[HOSTNAMESIZE];   /* name of account to use */
  20:     char    h_dir[PATHSIZE];    /* the directory to use */
  21:     double  h_weight;       /* the weighting for this node */
  22:     struct hostdef *h_next; /* next one */
  23: };

Defined struct's

hostdef defined in line 17; used 22 times

Defined macros

BIDCMD defined in line 8; used 1 times
COMMANDSIZE defined in line 6; never used
FALSE defined in line 4; used 12 times
HOSTNAMESIZE defined in line 2; used 4 times
PATHSIZE defined in line 7; used 4 times
TRUE defined in line 3; used 12 times
bool defined in line 5; used 21 times
new defined in line 11; used 4 times
swab defined in line 12; never used

Usage of this include

Last modified: 1983-07-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 575
Valid CSS Valid XHTML 1.0 Strict