#ifndef __HASH_H__ #define __HASH_H__ /** * hash.h * Declarations of some of the functions from K&R's hash table * implementation, taken from Section 6.6 */ /** * table_put (name, defn) * Add name/defn to table. Return 1 for success and 0 for failure. */ int table_put (char *name, char *defn); /** * table_get (name) * Get a definition from the table based on the name. Returns NULL * if the name is not found. */ char *table_get (char *name); #endif // __HASH_H__