mcl_stream_data.h
Go to the documentation of this file.
1 /*!**********************************************************************
2 *
3 * @copyright Copyright (C) 2016 Siemens Aktiengesellschaft.\n
4 * All rights reserved.
5 *
6 *************************************************************************
7 *
8 * @file mcl_stream_data.h
9 * @date Dec 26, 2016
10 * @brief Stream data module interface header file.
11 *
12 ************************************************************************/
13 
14 #ifndef MCL_STREAM_DATA_H_
15 #define MCL_STREAM_DATA_H_
16 
17 #include "mcl_common.h"
18 
19 #ifdef __cplusplus
20 extern "C"
21 {
22 #endif
23 
27  typedef struct mcl_json_t mcl_json_t;
28 
36  typedef mcl_size_t (*mcl_stream_data_read_callback_t)(void *destination, void *source, mcl_size_t size, void *user_context);
37 
42 
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif //MCL_STREAM_DATA_H_
struct mcl_json_t mcl_json_t
This struct is used for json handling.
MCL_EXPORT 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.
Definition: stream_data.c:43
#define MCL_EXPORT
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
MCL Error code definitions. Every function returning an error code uses this enum values...
Definition: mcl_common.h:137
struct mcl_stream_data_t mcl_stream_data_t
This struct is used for building the stream data type.
size_t mcl_size_t
Definition: mcl_common.h:38