Function stackmate::import_master [−][src]
#[no_mangle]
pub unsafe extern "C" fn import_master(
network: *const c_char,
mnemonic: *const c_char,
passphrase: *const c_char
) -> *mut c_charExpand description
Creates a master xprv given a mnemonic and passphrase.
Safety
- This function is unsafe because it dereferences and returns raw pointer.
- Ensure that result is passed into cstring_free after use.