AT&T ECOMP Vendor Event Listener library
0.1
|
Implementation of EVEL functions to convert common enum types to strings. More...
Go to the source code of this file.
Functions | |
char * | evel_criticality (const EVEL_COUNTER_CRITICALITIES criticality) |
Map an EVEL_COUNTER_CRITICALITIES enum value to the equivalent string. More... | |
char * | evel_severity (const EVEL_SEVERITIES severity) |
Map an EVEL_SEVERITIES enum value to the equivalent string. More... | |
char * | evel_alert_action (const EVEL_ALERT_ACTIONS alert_action) |
Map an EVEL_ALERT_ACTIONS enum value to the equivalent string. More... | |
char * | evel_alert_type (const EVEL_ALERT_TYPES alert_type) |
Map an EVEL_ALERT_TYPES enum value to the equivalent string. More... | |
char * | evel_event_domain (const EVEL_EVENT_DOMAINS domain) |
Map an EVEL_EVENT_DOMAINS enum value to the equivalent string. More... | |
char * | evel_event_priority (const EVEL_EVENT_PRIORITIES priority) |
Map an EVEL_EVENT_PRIORITIES enum value to the equivalent string. More... | |
char * | evel_source_type (const EVEL_SOURCE_TYPES source_type) |
Map an EVEL_SOURCE_TYPES enum value to the equivalent string. More... | |
char * | evel_vf_status (const EVEL_VF_STATUSES vf_status) |
Map an EVEL_VF_STATUSES enum value to the equivalent string. More... | |
char * | evel_entity_state (const EVEL_ENTITY_STATE state) |
Convert a EVEL_ENTITY_STATE to it's string form for JSON encoding. More... | |
char * | evel_service_endpoint_desc (const EVEL_ENTITY_STATE endpoint_desc) |
Convert a EVEL_SERVICE_ENDPOINT_DESC to string form for JSON encoding. More... | |
Implementation of EVEL functions to convert common enum types to strings.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY AT&T INTELLECTUAL PROPERTY ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AT&T INTELLECTUAL PROPERTY BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file evel_strings.c.
char* evel_alert_action | ( | const EVEL_ALERT_ACTIONS | alert_action | ) |
Map an EVEL_ALERT_ACTIONS enum value to the equivalent string.
alert_action | The alert_action to convert. |
Definition at line 123 of file evel_strings.c.
char* evel_alert_type | ( | const EVEL_ALERT_TYPES | alert_type | ) |
Map an EVEL_ALERT_TYPES enum value to the equivalent string.
alert_type | The alert_type to convert. |
Definition at line 159 of file evel_strings.c.
char* evel_criticality | ( | const EVEL_COUNTER_CRITICALITIES | criticality | ) |
Map an EVEL_COUNTER_CRITICALITIES enum value to the equivalent string.
criticality | The criticality to convert. |
Definition at line 47 of file evel_strings.c.
char* evel_entity_state | ( | const EVEL_ENTITY_STATE | state | ) |
Convert a EVEL_ENTITY_STATE to it's string form for JSON encoding.
state | The entity state to encode. |
Definition at line 416 of file evel_strings.c.
char* evel_event_domain | ( | const EVEL_EVENT_DOMAINS | domain | ) |
Map an EVEL_EVENT_DOMAINS enum value to the equivalent string.
domain | The domain to convert. |
Definition at line 199 of file evel_strings.c.
char* evel_event_priority | ( | const EVEL_EVENT_PRIORITIES | priority | ) |
Map an EVEL_EVENT_PRIORITIES enum value to the equivalent string.
priority | The priority to convert. |
Definition at line 264 of file evel_strings.c.
char* evel_service_endpoint_desc | ( | const EVEL_ENTITY_STATE | endpoint_desc | ) |
Convert a EVEL_SERVICE_ENDPOINT_DESC to string form for JSON encoding.
endpoint_desc | endpoint description to encode. |
Definition at line 453 of file evel_strings.c.
char* evel_severity | ( | const EVEL_SEVERITIES | severity | ) |
Map an EVEL_SEVERITIES enum value to the equivalent string.
severity | The severity to convert. |
Definition at line 79 of file evel_strings.c.
char* evel_source_type | ( | const EVEL_SOURCE_TYPES | source_type | ) |
Map an EVEL_SOURCE_TYPES enum value to the equivalent string.
source_type | The source type to convert. |
Definition at line 305 of file evel_strings.c.
char* evel_vf_status | ( | const EVEL_VF_STATUSES | vf_status | ) |
Map an EVEL_VF_STATUSES enum value to the equivalent string.
vf_status | The vf_status to convert. |
Definition at line 370 of file evel_strings.c.