pub unsafe extern "C" fn nfc_protocol_has_parent(
protocol: NfcProtocol,
parent_protocol: NfcProtocol,
) -> boolExpand description
Determine if a specific protocol has a parent on an arbitrary level.
Unlike nfc_protocol_get_parent(), this function will traverse the full protocol hierarchy and check each parent node for the matching protocol type.
§Arguments
protocol(direction in) - identifier of the protocol in question.parent_protocol(direction in) - identifier of the parent protocol in question.
§Returns
true if the parent of given type exists, false otherwise.