home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume13 / ratfor / lookup.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-02-27  |  309 b   |  19 lines

  1.  
  2. /*
  3.  * from K&R "The C Programming language"
  4.  * Table lookup routines 
  5.  * structure and definitions
  6.  *
  7.  */
  8.  
  9.                     /* basic table entry */
  10. struct hashlist {
  11.     char    *name;
  12.     char    *def;
  13.     struct    hashlist *next;        /* next in chain     */
  14. };
  15.  
  16. #define HASHMAX    100            /* size of hashtable */
  17.  
  18.                     /* hash table itself */
  19.