[−][src]Function fxaclient_ffi::fxa_initialize_device
#[no_mangle]pub unsafe extern "C" fn fxa_initialize_device(
handle: u64,
name: FfiStr<'_>,
device_type: i32,
capabilities_data: *const u8,
capabilities_len: i32,
error: &mut ExternError
)
Initalizes our own device, most of the time this will be called right after logging-in for the first time.
Safety
This function is unsafe because it will dereference capabilities_data
and
read capabilities_len
bytes from it.