axlPointer myqtt_hash_lookup ( MyQttHash 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 myqtt_mutex_lock(), and myqtt_mutex_unlock().

Referenced by myqtt_conn_get_data(), and myqtt_ctx_get_data().