Function uacpi_namespace_node_next_typed
uacpi_status uacpi_namespace_node_next_typed(uacpi_namespace_node* parent, uacpi_namespace_node** iter, uacpi_object_type_bits type_mask)
Description
Retrieve the next peer namespace node of '*iter', or, if '*iter' is
UACPI_NULL, retrieve the first child of 'parent' instead. The resulting namespace node is stored at '*iter'. Only nodes which type matches one of the types set in 'type_mask' are returned. See comment above 'uacpi_namespace_node_next' for usage examples. Prefer the for_each_child family of helpers if possible instead of this API as they avoid recursion and/or the need to use dynamic data structures entirely.