Main Page | Class List | Directories | File List | Class Members | File Members

ght_hash_table_t Struct Reference

#include <ght_hash_table.h>

List of all members.

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


Detailed Description

The hash table structure.


Member Data Documentation

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


The documentation for this struct was generated from the following file:
Generated on Sun Nov 27 10:49:06 2005 for libghthash by  doxygen 1.4.2