diff options
Diffstat (limited to 'vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c')
-rw-r--r-- | vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c index 511c7d51..cb56c880 100644 --- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c +++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_internal_event.c @@ -43,12 +43,14 @@ * setter functions, but again values may only be set once so that the * Fault has immutable properties. * @param command The condition indicated by the event. + * @param event_name Unique Event Name confirming Domain AsdcModel Description + * @param event_id A universal identifier of the event for: troubleshooting correlation, analysis, etc * @returns pointer to the newly manufactured ::EVENT_INTERNAL. If the event * is not used (i.e. posted) it must be released using * ::evel_free_event. * @retval NULL Failed to create the event. *****************************************************************************/ -EVENT_INTERNAL * evel_new_internal_event(EVT_HANDLER_COMMAND command) +EVENT_INTERNAL * evel_new_internal_event(EVT_HANDLER_COMMAND command,const char* ev_name, const char *ev_id) { EVENT_INTERNAL * event = NULL; EVEL_ENTER(); @@ -73,7 +75,7 @@ EVENT_INTERNAL * evel_new_internal_event(EVT_HANDLER_COMMAND command) /***************************************************************************/ /* Initialize the header & the event fields. */ /***************************************************************************/ - evel_init_header(&event->header,NULL); + evel_init_header_nameid(&event->header,ev_name,ev_id); event->header.event_domain = EVEL_DOMAIN_INTERNAL; event->command = command; |