Function tari_wallet_ffi::pending_inbound_transactions_get_at [−][src]
#[no_mangle]pub unsafe extern "C" fn pending_inbound_transactions_get_at(
transactions: *mut TariPendingInboundTransactions,
position: c_uint,
error_out: *mut c_int
) -> *mut TariPendingInboundTransaction
Gets a TariPendingInboundTransaction of a TariPendingInboundTransactions
Arguments
transactions
- The pointer to a TariPendingInboundTransactions
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 TariPendingInboundTransaction,
note that ptr::null_mut() is returned if transactions is null or position is invalid
Safety
The pending_inbound_transaction_destroy
method must be called when finished with a
TariPendingOutboundTransaction to prevent a memory leak