1 /* @(#)htable.h 4.2 (Berkeley) 10/21/82 */ 2 3 #include <sys/types.h> 4 5 /* 6 * common definitions for htable 7 */ 8 9 struct addr { 10 u_long addr_val; 11 struct addr *addr_link; 12 }; 13 14 struct name { 15 char *name_val; 16 struct name *name_link; 17 }; 18 19 #define NOADDR ((struct addr *)0) 20 #define NONAME ((struct name *)0) 21 22 #define KW_NET 1 23 #define KW_GATEWAY 2 24 #define KW_HOST 3 25 26 struct name *newname(); 27 char *malloc(); 28 29 char *infile; /* Input file name */ 30