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

Load the key from a file.

Returns:

  • true on success, false on failure

Arguments

  • [in] - protocols pointer to an iButtonProtocols object
  • [out] - key pointer to the key to load into (must be allocated before)
  • [in] - file_name full absolute path to the file name