[][src]Module safe_app::ffi

FFI

Modules

access_container

Access container.

cipher_opt

Cipher options operations.

crypto

Crypto-related routines.

errors

Errors

immutable_data

Low level manipulation of ImmutableData.

ipc

IPC utilities. App-related IPC utilities.

logging

Logging operations. Logging utilities This module is exactly the same as safe_authenticator::ffi::logging, therefore changes to either one of them should also be reflected to the other to stay in sync.

mdata_info

MDataInfo operations.

mutable_data

Low level manipulation of MutableData.

nfs

NFS API.

object_cache

ObjectCache handles. Types for handles of objects stored in the ObjectCache.

Constants

GET_NEXT_VERSION

Constant to pass to certain functions that take a version when the next version should be retrieved and used automatically.

Functions

app_container_name

Returns the name of the app's container.

app_free

Discard and clean up the previously allocated app instance. Use this only if the app is obtained from one of the auth functions in this crate. Using app after a call to this function is undefined behaviour.

app_is_mock

Returns true if this crate was compiled against mock-routing.

app_reconnect

Try to restore a failed connection with the network.

app_registered

Create a registered app. The user_data parameter corresponds to the first parameter of the o_cb and o_disconnect_notifier_cb callbacks.

app_reset_object_cache

Resets the object cache. Removes all objects currently in the object cache and invalidates all existing object handles.

app_set_config_dir_path

Sets the path from which the safe_core.config file will be read.

app_unregistered

Create unregistered app. The user_data parameter corresponds to the first parameter of the o_cb and o_disconnect_notifier_cb callbacks.