Function safe_authenticator::ffi::create_acc [] [src]

#[no_mangle]
pub unsafe extern "C" fn create_acc(
    account_locator: *const c_char,
    account_password: *const c_char,
    invitation: *const c_char,
    user_data: *mut c_void,
    o_disconnect_notifier_cb: extern "C" fn(_: *mut c_void),
    o_cb: extern "C" fn(_: *mut c_void, _: *const FfiResult, _: *mut Authenticator)
)

Create a registered client. This or any one of the other companion functions to get an authenticator instance must be called before initiating any operation allowed by this module. 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