custom_data.h File Reference

Custom data module header file. More...

#include "item.h"
#include "mcl_core/mcl_json_util.h"
Include dependency graph for custom_data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  custom_data_payload_t
 
struct  custom_data_t
 

Functions

MCL_LOCAL mcl_error_t custom_data_validate (custom_data_t *custom_data)
 

Detailed Description

Custom data module header file.

Definition in file custom_data.h.

Function Documentation

MCL_LOCAL mcl_error_t custom_data_validate ( custom_data_t custom_data)

This function checks whether all mandatory parameters of a custom data are set or not.

Parameters
[in]custom_dataCustom data to validate.
Returns

Definition at line 104 of file custom_data.c.

References custom_data_payload_t::buffer, custom_data_payload_t::content_type, MCL_DEBUG_ENTRY, MCL_DEBUG_LEAVE, MCL_INVALID_PARAMETER, MCL_NULL, MCL_OK, custom_data_t::payload, custom_data_payload_t::size, custom_data_payload_t::type, and custom_data_payload_t::version.

Referenced by _store_add_data(), and connectivity_processor_exchange().

Here is the caller graph for this function: