24 DEBUG_ENTRY(
"const char *version = <%s>, const char *type = <%s>, const char *routing = <%p>, mcl_stream_data_read_callback_t stream_data_read_callback = <%p>, void *user_context = <%p>, stream_data_t **stream_data = <%p>",
25 version, type, routing, stream_data_read_callback, user_context, stream_data)
32 (*stream_data)->user_context = user_context;
33 (*stream_data)->read_callback = stream_data_read_callback;
45 DEBUG_ENTRY(
"mcl_stream_data_t *stream_data = <%p>, const mcl_json_t *details = <%p>", stream_data, details)
59 DEBUG_ENTRY(
"stream_data_t **stream_data = <%p>", stream_data)
struct mcl_json_t mcl_json_t
This struct is used for json handling.
E_MCL_ERROR_CODE mcl_stream_data_set_meta_details(mcl_stream_data_t *stream_data, const mcl_json_t *details)
Adds a custom details object to stream_data.
MCL_EXPORT E_MCL_ERROR_CODE mcl_custom_data_set_meta_details(mcl_custom_data_t *custom_data, const mcl_json_t *details)
Adds a custom details object to custom_data.
Memory module header file.
Common module interface header file.
mcl_size_t(* mcl_stream_data_read_callback_t)(void *destination, void *source, mcl_size_t size, void *user_context)
Stream data read callback function definition.
E_MCL_ERROR_CODE custom_data_initialize(const char *version, const char *type, const char *routing, custom_data_t **custom_data)
Initializes custom_data.
#define ASSERT_NOT_NULL(argument)
Log utility module header file.
E_MCL_ERROR_CODE
MCL Error code definitions. Every function returning an error code uses this enum values...
#define ASSERT_STATEMENT_CODE_MESSAGE(condition, statement, return_code,...)
Custom data module interface header file.
Stream data module header file.
#define ASSERT_CODE_MESSAGE(condition, return_code,...)
Definitions module header file.
void stream_data_destroy(stream_data_t **stream_data)
Destroys stream_data.
struct mcl_stream_data_t mcl_stream_data_t
This struct is used for building the stream data type.
This struct is used for building the complete message of stream data.
void custom_data_destroy(custom_data_t **custom_data)
Destroys custom_data.
E_MCL_ERROR_CODE stream_data_initialize(const char *version, const char *type, const char *routing, mcl_stream_data_read_callback_t stream_data_read_callback, void *user_context, stream_data_t **stream_data)
Initializes stream_data.