int HTfind(HTtable *, const char *)
Look up the most recently inserted case-insensitive key match.
Definition hash.c:120
char * HTfindKey(HTtable *, const char *)
Retrieve the original stored spelling of a case-insensitive key.
Definition hash.c:142
struct HTentry * HTtable
Definition hash.h:29
HTtable * HTcreate(void)
Allocate an empty case-insensitive identifier table.
Definition hash.c:78
int HTinsert(HTtable *, char *, int)
Prepend a key/data entry to a hash table without copying its key.
Definition hash.c:97
void HTfree(HTtable *)
Free all hash entries and the table bucket array.
Definition hash.c:162
char * key
Definition hash.h:24
int data
Definition hash.h:25
struct HTentry * next
Definition hash.h:26