void axl_node_attr_foreach ( axlNode node,
axlNodeAttrForeachFunc  func,
axlPointer  data,
axlPointer  data2 
)

Allows to provide a function which is called foreach 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:
node The node for which the provided function will be called for each attribute found.
func The foreach function to be called.
data User defined data to be passed to the foreach function.
data2 Second user defined data to be passed to the foreach function.