Function xrpl_hooks::_c::state_foreign[][src]

pub unsafe extern "C" fn state_foreign(
    write_ptr: u32,
    write_len: u32,
    kread_ptr: u32,
    kread_len: u32,
    aread_ptr: u32,
    aread_len: u32
) -> i64
Expand description

Retrieve a value from another hook’s key-value map. @param write_ptr A buffer to write the state value into @param write_len The length of that buffer @param kread_ptr A buffer to read the state key from @param kread_len The length of that key @param aread_ptr A buffer containing an account-id of another account containing a hook whose state we are reading @param aread_len The length of the account-id (should always be 20). @return The number of bytes written or a negative integer if an error occured.