void axl_hash_foreach ( axlHash hash,
axlHashForeachFunc  func,
axlPointer  user_data 
)

Performs a foreach operation over all items stored in the hash provided.

The function provided (func) will be called passing in the item found, and the data provided (third argument).

Because the axlHashForeachFunc function is used, true must be returned to stop the foreach process. In the case all items must be visited, false must be returned in any case.

Parameters:
hash The hash table where the iteration process will take place.
func The function to call for each item found.
user_data User defined data to be passed in to the function callback along with the item found.