axl main logo
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages
void axl_node_attr_foreach ( axlNode node,
axlNodeAttrForeachFunc  func,
axlPointer  data,
axlPointer  data2 
)

Allows to provide a function which is called for each attribute installed on the provided node.

This function will allow you to operate on every attribute installed, doing an foreach operation. This is an alternative API to the axlAttrCursor, which could be used to save allocations.

Parameters
nodeThe node for which the provided function will be called for each attribute found.
funcThe foreach function to be called.
dataUser defined data to be passed to the foreach function.
data2Second user defined data to be passed to the foreach function.

References axl_hash_foreach3(), and axl_return_if_fail.