1: /*
   2:  * Copyright (c) 1983 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: 
   7: /*	@(#)timedc.h	2.1.1	(2.11BSD GTE)	1/1/94	*/
   8: 
   9: #include <sys/param.h>
  10: #include <stdio.h>
  11: #include <sys/time.h>
  12: #include <errno.h>
  13: #include <sys/socket.h>
  14: #include <netinet/in.h>
  15: #include <netdb.h>
  16: #include <arpa/inet.h>
  17: 
  18: extern int errno;
  19: 
  20: #define ON      1
  21: #define OFF     0
  22: 
  23: #define MSGS        6
  24: #define TRIALS      5
  25: 
  26: #define GOOD        1
  27: #define UNREACHABLE 2
  28: #define NONSTDTIME  3
  29: #ifdef pdp11
  30: #define HOSTDOWN    0x7fff
  31: #else
  32: #define HOSTDOWN    0x7fffffff
  33: #endif
  34: 
  35: struct  cmd {
  36:     char    *c_name;        /* command name */
  37:     char    *c_help;        /* help message */
  38:     int (*c_handler)();     /* routine to do the work */
  39:     int c_priv;         /* privileged command */
  40: };

Defined struct's

cmd defined in line 35; used 26 times

Defined macros

GOOD defined in line 26; never used
HOSTDOWN defined in line 32; never used
MSGS defined in line 23; never used
NONSTDTIME defined in line 28; never used
OFF defined in line 21; used 1 times
ON defined in line 20; used 1 times
TRIALS defined in line 24; never used
UNREACHABLE defined in line 27; never used

Usage of this include

Last modified: 1994-01-11
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2883
Valid CSS Valid XHTML 1.0 Strict