Foreach function signature used to represent the set of functions used at axl_hash_foreach3.
The function receives the item found (key and data values) as well as tree user defined pointers also defined at axl_hash_foreach3. The function must return true ("item found") to make the search to stop. In the case a full iteration over all items inside the hash is required, the function must always return false.
- Parameters:
-
| key | The key for the item stored. |
| data | The data associated to the key found |
| user_data | User defined data that was provided to the axl_hash_foreach3 function. |
| user_data2 | Second User defined data that was provided to the axl_hash_foreach3 function. |
| user_data3 | Third User defined data that was provided to the axl_hash_foreach3 function. |
- Returns:
- true to make the foreach process to stop. false to make the process to continue.