Module safe_app::ffi::mutable_data[][src]

Low level manipulation of MutableData.

Modules

entries

FFI for mutable data entries, keys and values.

entry_actions

FFI for mutable data entry actions.

metadata

FFI routines for handling mutable data metadata.

permissions

FFI for mutable data permissions and permission sets.

Statics

ENTRIES_EMPTY

Special value that represents an empty entry set.

PERMISSIONS_EMPTY

Special value that represents an empty permission set.

Functions

mdata_del_user_permissions

Delete permissions set on the mutable data for the given user.

mdata_entries

Get a handle to the complete list of entries in the mutable data.

mdata_get_value

Get value at the given key from the mutable data. The arguments to the callback are: 1. user data 2. error code 3. pointer to content 4. content length 5. entry version

mdata_get_version

Get version of the mutable data.

mdata_list_keys

Get list of all keys in the mutable data.

mdata_list_permissions

Get list of all permissions set on the mutable data

mdata_list_user_permissions

Get list of permissions set on the mutable data for the given user.

mdata_list_values

Get list of all values in the mutable data.

mdata_mutate_entries

Mutate entries of the mutable data.

mdata_put

Create new mutable data and put it on the network.

mdata_serialised_size

Get size of serialised mutable data.

mdata_set_user_permissions

Set permissions set on the mutable data for the given user.