Module safe_authenticator::ffi [] [src]

FFI routines

Modules

apps

Apps management.

logging

Logging utilities Logging utilities

public_id

Public ID routines.

Functions

auth_account_info

Get the account usage statistics.

auth_free

Discard and clean up the previously allocated authenticator instance. Use this only if the authenticator is obtained from one of the auth functions in this crate (create_acc, login, create_unregistered). Using auth after a call to this function is undefined behaviour.

auth_reconnect

Try to restore a failed connection with the network.

create_acc

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 callback, while network_cb_user_data corresponds to the first parameter of the network events observer callback (o_network_obs_cb).

login

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 callback, while network_cb_user_data corresponds to the first parameter of the network events observer callback (o_network_obs_cb).