void myqtt_hash_foreach2 ( MyQttHash hash_table,
axlHashForeachFunc2  func,
axlPointer  user_data,
axlPointer  user_data2 
)

Perform a foreach over all elements inside the MyQttHash, 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 myqtt_mutex_lock(), and myqtt_mutex_unlock().