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

size_t size

the overall size

size_t nnodes

number of nodes

di_hash_node** nodes

nodes

di_mem_chunk* mem_chunk

di_mem_chunk for allocating the nodes (di_hash_node)

di_hash_func* hash_func

hashing function

di_equal_func* key_equal_func

key compare function

di_destroy_notify* key_destroy_func

key destroy function, may NULL

di_destroy_notify* value_destroy_func

value destroy function, may NULL


Generated on Sat Sep 29 08:45:17 2007 for libdebian-installer by  doxygen 1.5.1