E_MCL_ERROR_CODE event_initialize(item_meta_t *meta, const char *type, const char *version, mcl_int32_t severity, const char *timestamp, event_t **event)
This function creates and initializes a data struct of event_t.
struct mcl_event_t mcl_event_t
This struct is used for building only one message of event.
E_MCL_ERROR_CODE
MCL Error code definitions. Every function returning an error code uses this enum values...
event_payload_t * payload
Payload of event.
item_meta_t * meta
Meta of event.
This struct is used for building event.payload structure.
void event_destroy(event_t **event)
To destroy the event_t data struct.
This struct is used for building a single event.
Data types module header file.