15 #include "azure_macro_utils/macro_utils.h" 16 #include "umock_c/umock_c_prod.h" Structure for data control block.
AZ_ULIB_RESULT az_ustream_concat(AZ_USTREAM *ustream_instance, AZ_USTREAM *ustream_to_concat, AZ_USTREAM_MULTI_DATA_CB *multi_data, AZ_RELEASE_CALLBACK multi_data_release)
Concatenate a ustream to the existing ustream.
Structure to keep track of concatenated ustreams.
Structure for instance control block.
AZ_ULIB_RESULT az_ustream_init(AZ_USTREAM *ustream_instance, AZ_USTREAM_DATA_CB *ustream_control_block, AZ_RELEASE_CALLBACK control_block_release, const uint8_t *const data_buffer, size_t data_buffer_length, AZ_RELEASE_CALLBACK data_buffer_release)
Factory to initialize a new ustream.
enum AZ_ULIB_RESULT_TAG AZ_ULIB_RESULT
Enumeration of ulib results.
size_t offset_t
Define offset_t with the same size as size_t.
uStream Interface Definition
void(* AZ_RELEASE_CALLBACK)(void *)
Signature of the function to release memory passed to the ustream.
AZ_ULIB_RESULT az_ustream_split(AZ_USTREAM *ustream_instance, AZ_USTREAM *ustream_instance_split, offset_t split_pos)
Split a ustream at a given position.