int valvula_hash_size ( ValvulaHash hash_table)

Returns number of items insisde the hash.

Parameters
hash_tablethe hash table to operate on.
Returns
Number of items inside the hash -1 if fails.

References valvula_mutex_lock(), and valvula_mutex_unlock().