void valvula_hash_replace ( ValvulaHash hash_table,
axlPointer  key,
axlPointer  value 
)

Replace using the given pair key/value into the given hash.

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

Parameters
hash_tablethe hash table to operate on
keythe key value
valuethe value to insert

References valvula_mutex_lock(), and valvula_mutex_unlock().