Module safe_authenticator::ffi[][src]

FFI routines

Modules

apps

Apps management

ipc

Authenticator communication with apps

logging

Logging utilities Logging utilities

Functions

auth_account_info

Get the account usage statistics.

auth_exe_file_stem

Returns the expected name for the application executable without an extension

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 or login). Using auth after a call to this function is undefined behaviour.

auth_reconnect

Try to restore a failed connection with the network.

auth_set_additional_search_path

Sets the additional path in config_file_handler to search for files.

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 and o_disconnect_notifier_cb callbacks.

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 and o_disconnect_notifier_cb callbacks.