|
libghthash 0.6.0
|
#include <ght_hash_table.h>
Public Attributes | |
| unsigned int | i_items |
| unsigned int | i_size |
| ght_fn_hash_t | fn_hash |
| ght_fn_alloc_t | fn_alloc |
| ght_fn_free_t | fn_free |
| ght_fn_bucket_free_callback_t | fn_bucket_free |
| int | i_heuristics |
| int | i_automatic_rehash |
| ght_hash_entry_t ** | pp_entries |
| int * | p_nr |
| int | i_size_mask |
| unsigned int | bucket_limit |
| ght_hash_entry_t * | p_oldest |
| ght_hash_entry_t * | p_newest |
The hash table structure.
| ght_fn_alloc_t ght_hash_table_t::fn_alloc |
The function used for allocating entries
| ght_fn_bucket_free_callback_t ght_hash_table_t::fn_bucket_free |
The function called when a bucket overflows
| ght_fn_free_t ght_hash_table_t::fn_free |
The function used for freeing entries
| ght_fn_hash_t ght_hash_table_t::fn_hash |
The hash function used
| int ght_hash_table_t::i_automatic_rehash |
TRUE if automatic rehashing is used
| int ght_hash_table_t::i_heuristics |
The type of heuristics used
| unsigned int ght_hash_table_t::i_items |
The current number of items in the table
| unsigned int ght_hash_table_t::i_size |
The number of buckets