[−][src]Function safe_authenticator_ffi::ffi::login
#[no_mangle]pub unsafe extern "C" fn login(
account_locator: *const c_char,
account_password: *const c_char,
user_data: *mut c_void,
_o_disconnect_notifier_cb: unsafe extern "C" fn(user_data: *mut c_void),
o_cb: extern "C" fn(user_data: *mut c_void, result: *const FfiResult, authenticaor: *mut Authenticator)
)
Log into a registered account. This or any one of the other companion
functions to get an authenticator instance must be called before initiating
any operation allowed for authenticator. The user_data
parameter corresponds to the
first parameter of the o_cb
and o_disconnect_notifier_cb
callbacks.