Function safe_app::ffi::mutable_data::mdata_put [−][src]
#[no_mangle]pub unsafe extern "C" fn mdata_put(
app: *const App,
info: *const MDataInfo,
permissions_h: MDataPermissionsHandle,
entries_h: MDataEntriesHandle,
user_data: *mut c_void,
o_cb: extern "C" fn(user_data: *mut c_void, result: *const FfiResult)
)
Create new mutable data and put it on the network.
permissions_h
is a handle to permissions to be set on the mutable data.
If PERMISSIONS_EMPTY
, the permissions will be empty.
entries_h
is a handle to entries for the mutable data.
If ENTRIES_EMPTY
, the entries will be empty.
Callback parameters: user data, error code