#include <st.h>
Data Fields | |
| int(* | compare )() |
| int(* | hash )() |
| int | num_bins |
| int | num_entries |
| int | max_density |
| int | reorder_flag |
| double | grow_factor |
| Hash_Entry_t ** | bins |
| Hash_Generator_t * | gen |
The hashtable is based on collision chaining. The user is to provide the hash and compare functions. Pre-defined functions exists for numbers, pointers, and strings.
Definition at line 55 of file st.h.
| int(* Hash_t::compare)() |
| int(* Hash_t::hash)() |
| int Hash_t::num_bins |
| double Hash_t::grow_factor |