uLib
|
Structure for data control block. More...
#include <ustream_base.h>
Data Fields | |
const AZ_USTREAM_INTERFACE * | api |
AZ_USTREAM_DATA * | ptr |
volatile uint32_t | ref_count |
AZ_RELEASE_CALLBACK | data_release |
AZ_RELEASE_CALLBACK | control_block_release |
Structure for data control block.
For any given ustream that is created, one control block is created and initialized.
Definition at line 392 of file ustream_base.h.
const AZ_USTREAM_INTERFACE* AZ_USTREAM_DATA_CB_TAG::api |
The AZ_USTREAM_INTERFACE* for this ustream instance type
Definition at line 394 of file ustream_base.h.
AZ_RELEASE_CALLBACK AZ_USTREAM_DATA_CB_TAG::control_block_release |
The AZ_RELEASE_CALLBACK to call to release the AZ_USTREAM_DATA_CB once the ref_count
goes to zero
Definition at line 404 of file ustream_base.h.
AZ_RELEASE_CALLBACK AZ_USTREAM_DATA_CB_TAG::data_release |
The AZ_RELEASE_CALLBACK to call to release ptr
once the ref_count
goes to zero
Definition at line 402 of file ustream_base.h.
AZ_USTREAM_DATA* AZ_USTREAM_DATA_CB_TAG::ptr |
The AZ_USTREAM_DATA* pointing to the data to read. It can be anything that a given ustream implementation needs to access the data, whether it be a memory address to a buffer, another struct with more controls, etc
Definition at line 396 of file ustream_base.h.
volatile uint32_t AZ_USTREAM_DATA_CB_TAG::ref_count |
The volatile uint32_t
with the number of references taken for this memory
Definition at line 400 of file ustream_base.h.