axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
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, axl_true must be returned to stop the foreach process. In the case all items must be visited, axl_false must be returned in any case.

hashThe hash table where the iteration process will take place.
funcThe function to call for each item found.
user_dataUser defined data to be passed in to the function callback along with the item found.

Referenced by axl_node_remove_attribute().