Event module header file. More...
Go to the source code of this file.
Data Structures | |
struct | event_payload_t |
struct | event_t |
Functions | |
MCL_LOCAL mcl_error_t | event_validate (event_t *event) |
Variables | |
const char * | mcl_event_versions [] |
Event module header file.
Meta and payload parts of event type are initialized and filled in this module.
Definition in file event.h.
MCL_LOCAL mcl_error_t event_validate | ( | event_t * | event | ) |
This function checks whether all mandatory parameters of an event are set or not.
[in] | event | Event to validate. |
Definition at line 158 of file event.c.
References MCL_DEBUG_ENTRY, MCL_DEBUG_LEAVE, MCL_INVALID_PARAMETER, MCL_NULL, MCL_OK, mcl_time_util_validate_timestamp(), MCL_TRUE, event_t::payload, event_payload_t::timestamp, event_payload_t::type, and event_payload_t::version.
Referenced by _store_add_data(), and connectivity_processor_exchange().
const char* mcl_event_versions[] |
Definition at line 17 of file event.c.
Referenced by _add_item_meta_payload(), and _item_meta_size().