axlPointer valvula_hash_lookup ( ValvulaHash hash_table,
axlPointer  key 
)

Perform a lookup using the given key inside the given hash.

Return the value, if found, associated with the key.

Parameters
hash_tablethe hash table
keythe key value
Returns
the value found or NULL if fails

References valvula_mutex_lock(), and valvula_mutex_unlock().

Referenced by valvula_ctx_get_data().