Function tari_wallet_ffi::pending_outbound_transactions_get_at[][src]

#[no_mangle]pub unsafe extern "C" fn pending_outbound_transactions_get_at(
    transactions: *mut TariPendingOutboundTransactions,
    position: c_uint,
    error_out: *mut c_int
) -> *mut TariPendingOutboundTransaction

Gets a TariPendingOutboundTransaction of a TariPendingOutboundTransactions

Arguments

transactions - The pointer to a TariPendingOutboundTransactions position - The integer position 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

*mut TariPendingOutboundTransaction - Returns a pointer to a TariPendingOutboundTransaction, note that ptr::null_mut() is returned if transactions is null or position is invalid

Safety

The pending_outbound_transaction_destroy method must be called when finished with a TariPendingOutboundTransaction to prevent a memory leak