Function safe_authenticator::ffi::login
[−]
[src]
#[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(_: *mut c_void),
o_cb: extern "C" fn(_: *mut c_void, _: *const FfiResult, _: *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.
Callback parameters: user data, error code, authenticator