ibutton_protocols_is_valid

Function ibutton_protocols_is_valid 

Source
pub unsafe extern "C" fn ibutton_protocols_is_valid(
    protocols: *mut iButtonProtocols,
    key: *const iButtonKey,
) -> bool
Expand description

Check whether the key data is valid

§Arguments

  • [in] - protocols pointer to an iButtonProtocols object
  • [in] - key pointer to the key to be checked

§Returns

true if data is valid, false otherwise