CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
CdiQueueCbData Struct Reference

A structure of this type is passed as the parameter to CdiQueueCallback(). It contains the state of a single queue read or write operation. More...

#include <cdi_queue_api.h>

Data Fields

bool is_pop
 True if read triggered the callback, otherwise a write triggered it.
 
CdiSinglyLinkedListEntryread_ptr
 Current read pointer in the queue.
 
CdiSinglyLinkedListEntrywrite_ptr
 Current write pointer in the queue.
 
void * item_data_ptr
 Pointer to item data.
 
int occupancy
 The number of entries currently enqueued.
 

Detailed Description

A structure of this type is passed as the parameter to CdiQueueCallback(). It contains the state of a single queue read or write operation.


The documentation for this struct was generated from the following file: