AT&T ECOMP Vendor Event Listener library
0.1
|
Implementation of EVEL functions relating to Signaling. More...
Go to the source code of this file.
Functions | |
EVENT_SIGNALING * | evel_new_signaling (const char *const vendor_id, const char *const event_id) |
Create a new Signaling event. More... | |
void | evel_signaling_type_set (EVENT_SIGNALING *const event, const char *const type) |
Set the Event Type property of the Signaling event. More... | |
void | evel_signaling_local_ip_address_set (EVENT_SIGNALING *const event, const char *const local_ip_address) |
Set the Local Ip Address property of the Signaling event. More... | |
void | evel_signaling_local_port_set (EVENT_SIGNALING *const event, const char *const local_port) |
Set the Local Port property of the Signaling event. More... | |
void | evel_signaling_remote_ip_address_set (EVENT_SIGNALING *const event, const char *const remote_ip_address) |
Set the Remote Ip Address property of the Signaling event. More... | |
void | evel_signaling_remote_port_set (EVENT_SIGNALING *const event, const char *const remote_port) |
Set the Remote Port property of the Signaling event. More... | |
void | evel_signaling_compressed_sip_set (EVENT_SIGNALING *const event, const char *const compressed_sip) |
Set the Compressed SIP property of the Signaling event. More... | |
void | evel_signaling_summary_sip_set (EVENT_SIGNALING *const event, const char *const summary_sip) |
Set the Summary SIP property of the Signaling event. More... | |
void | evel_signaling_product_id_set (EVENT_SIGNALING *const event, const char *const product_id) |
Set the Product Id property of the Signaling event. More... | |
void | evel_signaling_subsystem_id_set (EVENT_SIGNALING *const event, const char *const subsystem_id) |
Set the Subsystem Id property of the Signaling event. More... | |
void | evel_signaling_friendly_name_set (EVENT_SIGNALING *const event, const char *const friendly_name) |
Set the Friendly Name property of the Signaling event. More... | |
void | evel_signaling_correlator_set (EVENT_SIGNALING *const event, const char *const correlator) |
Set the Correlator property of the Signaling event. More... | |
void | evel_json_encode_signaling (EVEL_JSON_BUFFER *const jbuf, EVENT_SIGNALING *const event) |
Encode the Signaling in JSON according to AT&T's schema for the event type. More... | |
void | evel_free_signaling (EVENT_SIGNALING *const event) |
Free a Signaling event. More... | |
Implementation of EVEL functions relating to Signaling.
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_signaling.c.
void evel_free_signaling | ( | EVENT_SIGNALING *const | event | ) |
Free a Signaling event.
Free off the event supplied. Will free all the contained allocated memory.
Definition at line 487 of file evel_signaling.c.
void evel_json_encode_signaling | ( | EVEL_JSON_BUFFER *const | jbuf, |
EVENT_SIGNALING *const | event | ||
) |
Encode the Signaling in JSON according to AT&T's schema for the event type.
jbuf | Pointer to the EVEL_JSON_BUFFER to encode into. |
event | Pointer to the EVENT_HEADER to encode. |
Definition at line 441 of file evel_signaling.c.
EVENT_SIGNALING* evel_new_signaling | ( | const char *const | vendor_id, |
const char *const | event_id | ||
) |
Create a new Signaling event.
vendor_id | The vendor id to encode in the event instance id. |
event_id | The vendor event id to encode in the event instance id. |
NULL | Failed to create the event. |
Definition at line 55 of file evel_signaling.c.
void evel_signaling_compressed_sip_set | ( | EVENT_SIGNALING *const | event, |
const char *const | compressed_sip | ||
) |
Set the Compressed SIP property of the Signaling event.
event | Pointer to the Signaling event. |
compressed_sip | The Compressed SIP to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 268 of file evel_signaling.c.
void evel_signaling_correlator_set | ( | EVENT_SIGNALING *const | event, |
const char *const | correlator | ||
) |
Set the Correlator property of the Signaling event.
event | Pointer to the Signaling event. |
correlator | The correlator to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 417 of file evel_signaling.c.
void evel_signaling_friendly_name_set | ( | EVENT_SIGNALING *const | event, |
const char *const | friendly_name | ||
) |
Set the Friendly Name property of the Signaling event.
event | Pointer to the Signaling event. |
friendly_name | The vendor friendly name to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 388 of file evel_signaling.c.
void evel_signaling_local_ip_address_set | ( | EVENT_SIGNALING *const | event, |
const char *const | local_ip_address | ||
) |
Set the Local Ip Address property of the Signaling event.
event | Pointer to the Signaling event. |
local_ip_address | The Local Ip Address to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 142 of file evel_signaling.c.
void evel_signaling_local_port_set | ( | EVENT_SIGNALING *const | event, |
const char *const | local_port | ||
) |
Set the Local Port property of the Signaling event.
event | Pointer to the Signaling event. |
local_port | The Local Port to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 173 of file evel_signaling.c.
void evel_signaling_product_id_set | ( | EVENT_SIGNALING *const | event, |
const char *const | product_id | ||
) |
Set the Product Id property of the Signaling event.
event | Pointer to the Signaling event. |
product_id | The vendor product id to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 330 of file evel_signaling.c.
void evel_signaling_remote_ip_address_set | ( | EVENT_SIGNALING *const | event, |
const char *const | remote_ip_address | ||
) |
Set the Remote Ip Address property of the Signaling event.
event | Pointer to the Signaling event. |
remote_ip_address | The Remote Ip Address to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 205 of file evel_signaling.c.
void evel_signaling_remote_port_set | ( | EVENT_SIGNALING *const | event, |
const char *const | remote_port | ||
) |
Set the Remote Port property of the Signaling event.
event | Pointer to the Signaling event. |
remote_port | The Remote Port to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 236 of file evel_signaling.c.
void evel_signaling_subsystem_id_set | ( | EVENT_SIGNALING *const | event, |
const char *const | subsystem_id | ||
) |
Set the Subsystem Id property of the Signaling event.
event | Pointer to the Signaling event. |
subsystem_id | The vendor subsystem id to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 359 of file evel_signaling.c.
void evel_signaling_summary_sip_set | ( | EVENT_SIGNALING *const | event, |
const char *const | summary_sip | ||
) |
Set the Summary SIP property of the Signaling event.
event | Pointer to the Signaling event. |
summary_sip | The Summary SIP to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 299 of file evel_signaling.c.
void evel_signaling_type_set | ( | EVENT_SIGNALING *const | event, |
const char *const | type | ||
) |
Set the Event Type property of the Signaling event.
event | Pointer to the Signaling event. |
type | The Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns. |
Definition at line 114 of file evel_signaling.c.