Function tari_wallet_ffi::file_partial_backup [−][src]
#[no_mangle]pub unsafe extern "C" fn file_partial_backup(
original_file_path: *const c_char,
backup_file_path: *const c_char,
error_out: *mut c_int
)
This function will produce a partial backup of the specified wallet database file. This backup will be written to the provided file (full path must include the filename and extension) and will include the full wallet db but will clear the sensitive Comms Private Key
Arguments
original_file_path
- The full path of the original database file to be backed up, including the file name and
extension backup_file_path
- The full path, including the file name and extension, of where the backup db will be
written error_out
- Pointer to an int which will be modified to an error code should one occur, may not be null.
Functions as an out parameter.
Returns
Safety
None