/* * $Id: hash.h,v 1.2 1999-01-22 23:17:08 ghudson Exp $ * * Copyright 1990, 1991 by the Massachusetts Institute of Technology. * * For copying and distribution information, please see the file * . * */ #ifndef _hash_h #define _hash_h #include /* Hash table declarations */ struct bucket { struct bucket *next; int key; caddr_t data; }; struct hash { int size; struct bucket **data; }; #define HASHSIZE 67 extern struct hash *create_hash(); extern caddr_t hash_lookup(); extern int hash_store(); extern caddr_t hash_give_any_value(); #endif /* _hash_h */