34 #ifndef CFDP_UTILS_HPP 35 #define CFDP_UTILS_HPP Argument structure for use with CfdpCListTraverseR()
Transaction * txn
output transaction pointer
CFDP Transaction state machine class.
CListTraverseStatus
Traverse status for circular list operations.
void(*)(Transaction *txn, void *context) CfdpTraverseAllTransactionsFunc
Callback function type for use with Channel::traverseAllTransactions()
U32 EntityId
Entity id size.
CListTraverseStatus PrioSearch(CListNode *node, void *context)
Searches for the first transaction with a lower priority than given.
TxnStatus
Values for Transaction Status code.
Argument structure for use with Channel::traverseAllTransactions()
TransactionSeq transaction_sequence_number
U32 TransactionSeq
transaction sequence number size
Argument structure for use with CList_Traverse()
ConditionCode TxnStatusToConditionCode(TxnStatus txn_stat)
Converts the internal transaction status to a CFDP condition code.
I32 counter
Running tally of all nodes traversed from all lists.
Transaction * txn
OUT: holds value of transaction with which to call CfdpCListInsertAfter on.
CfdpTraverseAllTransactionsFunc fn
internal callback to use for each CList_Traverse
uint8_t U8
8-bit unsigned integer
CListTraverseStatus FindTransactionBySequenceNumberImpl(CListNode *node, void *context)
List traversal function to check if the desired sequence number matches.
U8 priority
seeking this priority
Circular linked list node structure.
RateGroupDivider component implementation.
void * context
opaque object to pass to internal callback
AckTxnStatus GetTxnStatus(Transaction *txn)
Gets the status of this transaction.
bool TxnStatusIsError(TxnStatus txn_stat)
Check if the internal transaction status represents an error.