void vortex_hash_replace_full ( VortexHash hash_table,
axlPointer  key,
axlDestroyFunc  key_destroy,
axlPointer  value,
axlDestroyFunc  value_destroy 

Replace using the given pair key/value into the given hash, providing the particular key and value destroy function, overrding default ones.

Replace the key/value pair into hash_table. If previous value key/value is not found then the pair is simply added.

hash_tablethe hash table to operate on
keythe key value
key_destroyDestroy function to be called for the key.
valuethe value to insert
value_destroyDestroy value function to be called for the data.

References vortex_mutex_lock(), and vortex_mutex_unlock().

Referenced by vortex_channel_set_data_full(), vortex_connection_set_data_full(), and vortex_ctx_set_data_full().