MyQttHash* myqtt_hash_new_full ( axlHashFunc  hash_func,
axlEqualFunc  key_equal_func,
axlDestroyFunc  key_destroy_func,
axlDestroyFunc  value_destroy_func 
)

Creates a new MyQttHash setting all functions.

Creates a new MyQtt Hash Table. All myqtt library is programed making heavy use of hash tables so things can go pretty much faster.

But this makes race condition to appear anywhere so, this type allow myqtt library to create critical section to all operation that are applied to a hash table.

Parameters
hash_func
key_equal_func
key_destroy_func
value_destroy_func
Returns
a new MyQttHash table or NULL if fail

References myqtt_mutex_create().

Referenced by myqtt_hash_new().