NfcDeviceLoad

Type Alias NfcDeviceLoad 

Source
pub type NfcDeviceLoad = Option<unsafe extern "C" fn(data: *mut NfcDeviceData, ff: *mut FlipperFormat, version: u32) -> bool>;
Expand description

Load NFC device data from a FlipperFormat file.

The FlipperFormat file structure must be initialised and open by the calling code.

§Arguments

  • data (direction in, out) - pointer to the instance to be loaded into.
  • ff (direction in) - pointer to the FlipperFormat file instance.
  • version (direction in) - file format version to use when loading.

§Returns

true if loaded successfully, false otherwise.

Aliased Type§

pub enum NfcDeviceLoad {
    None,
    Some(unsafe extern "C" fn(*mut c_void, *mut FlipperFormat, u32) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, *mut FlipperFormat, u32) -> bool)

Some value of type T.