Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

di_hash_table Struct Reference
[Simple hash table]

Hash table. More...


Data Fields

size_t size
size_t nnodes
di_hash_node ** nodes
di_mem_chunkmem_chunk
di_hash_funchash_func
di_equal_funckey_equal_func
di_destroy_notifykey_destroy_func
di_destroy_notifyvalue_destroy_func


Detailed Description

Hash table.

For internal use only.


Field Documentation

di_hash_func* hash_func
 

hashing function

di_destroy_notify* key_destroy_func
 

key destroy function, may NULL

di_equal_func* key_equal_func
 

key compare function

di_mem_chunk* mem_chunk
 

di_mem_chunk for allocating the nodes (di_hash_node)

size_t nnodes
 

number of nodes

di_hash_node** nodes
 

nodes

size_t size
 

the overall size

di_destroy_notify* value_destroy_func
 

value destroy function, may NULL


Generated on Tue Jun 15 14:34:33 2004 for libdebian-installer by doxygen 1.3.7