ibutton_protocols_save

Function ibutton_protocols_save 

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

Save the key data to a file.

§Arguments

  • [in] - protocols pointer to an iButtonProtocols object
  • [in] - key pointer to the key to be saved
  • [in] - file_name full absolute path to the file name

§Returns

true on success, false on failure