Function uacpi_namespace_node_is_one_of

uacpi_status uacpi_namespace_node_is_one_of(const uacpi_namespace_node* node, uacpi_object_type_bits type_mask, uacpi_bool * out)

Description

Returns UACPI_TRUE via 'out' if the type of the object stored at the

namespace node matches any of the type bits in the provided value, UACPI_FALSE otherwise. NOTE: due to the existance of the CopyObject operator in AML, the return value of this function is subject to TOCTOU bugs.