json-c 0.18
|
#include <linkhash.h>
Data Fields | |
int | size |
int | count |
struct lh_entry * | head |
struct lh_entry * | tail |
struct lh_entry * | table |
lh_entry_free_fn * | free_fn |
lh_hash_fn * | hash_fn |
lh_equal_fn * | equal_fn |
The hash table structure. Outside of linkhash.c, treat this as opaque.
int lh_table::count |
Numbers of entries.
lh_equal_fn* lh_table::equal_fn |
lh_entry_free_fn* lh_table::free_fn |
A pointer to the function responsible for freeing an entry.
lh_hash_fn* lh_table::hash_fn |
struct lh_entry* lh_table::head |
The first entry.
int lh_table::size |
Size of our hash.
struct lh_entry* lh_table::table |
Internal storage of the actual table of entries.
struct lh_entry* lh_table::tail |
The last entry.