1 /* 2 * This file should be included in all files that use 3 * the HASHENTRY macro; see hashrout.h for details 4 */ 5 /* Copyright 1989 Carnegie Mellon University */ 6 7 #ifndef HASHTYPE 8 # include "-- HASHTYPE undefined" 9 #endif 10 11 /* 12 * An element really is a HASHTYPE along with a h_next entry, 13 * which chains together entries of the same hash value. 14 */ 15 16 typedef struct hashelem { 17 HASHTYPE h_elem; 18 struct hashelem *h_next; 19 } hashelem; 20 21 extern hashelem hashfirstchunk[]; 22 23 #define HASHENTRY(i) (hashfirstchunk[i].h_elem) 24