void valvula_hash_foreach2 ( ValvulaHash hash_table,
axlHashForeachFunc2  func,
axlPointer  user_data,
axlPointer  user_data2 
)

Perform a foreach over all elements inside the ValvulaHash, allowing to provide two user defined reference at the handler.

Parameters
hash_tableThe hash table where the foreach operation will be implemented.
funcUser defined handler called for each item found, along with the user defined data provided (two references).
user_dataUser defined data to be provided to the handler.
user_data2Second user defined data to be provided to the handler.

References valvula_mutex_lock(), and valvula_mutex_unlock().