56 const char *
const event_id)
65 assert(vendor_id != NULL);
66 assert(event_id != NULL);
78 EVEL_DEBUG(
"New Signaling event is at %lp", event);
115 const char *
const type)
122 assert(event != NULL);
143 const char *
const local_ip_address)
150 assert(event != NULL);
152 assert(local_ip_address != NULL);
174 const char *
const local_port)
181 assert(event != NULL);
183 assert(local_port != NULL);
206 const char *
const remote_ip_address)
213 assert(event != NULL);
215 assert(remote_ip_address != NULL);
219 "Remote Ip Address");
237 const char *
const remote_port)
244 assert(event != NULL);
246 assert(remote_port != NULL);
269 const char *
const compressed_sip)
276 assert(event != NULL);
278 assert(compressed_sip != NULL);
300 const char *
const summary_sip)
307 assert(event != NULL);
309 assert(summary_sip != NULL);
331 const char *
const product_id)
338 assert(event != NULL);
360 const char *
const subsystem_id)
367 assert(event != NULL);
389 const char *
const friendly_name)
396 assert(event != NULL);
418 const char *
const correlator)
425 assert(event != NULL);
449 assert(event != NULL);
460 "signalingFieldsVersion",
495 assert(event != NULL);
void evel_signaling_type_set(EVENT_SIGNALING *const event, const char *const type)
Set the Event Type property of the Signaling event.
void evel_set_option_string(EVEL_OPTION_STRING *const option, const char *const value, const char *const description)
Set the value of an EVEL_OPTION_STRING.
#define EVEL_DEBUG(FMT,...)
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.
void evel_signaling_subsystem_id_set(EVENT_SIGNALING *const event, const char *const subsystem_id)
Set the Subsystem Id property of the Signaling event.
void evel_signaling_local_port_set(EVENT_SIGNALING *const event, const char *const local_port)
Set the Local Port property of the Signaling event.
void evel_signaling_remote_port_set(EVENT_SIGNALING *const event, const char *const remote_port)
Set the Remote Port property of the Signaling event.
void evel_signaling_summary_sip_set(EVENT_SIGNALING *const event, const char *const summary_sip)
Set the Summary SIP property of the Signaling event.
void evel_signaling_compressed_sip_set(EVENT_SIGNALING *const event, const char *const compressed_sip)
Set the Compressed SIP property of the Signaling event.
#define EVEL_SIGNALING_MINOR_VERSION
EVEL_OPTION_STRING summary_sip
EVEL_OPTION_STRING correlator
void evel_signaling_friendly_name_set(EVENT_SIGNALING *const event, const char *const friendly_name)
Set the Friendly Name property of the Signaling event.
void evel_init_option_string(EVEL_OPTION_STRING *const option)
Initialize an EVEL_OPTION_STRING to a not-set state.
void evel_json_encode_instance_id(EVEL_JSON_BUFFER *jbuf, EVEL_EVENT_INSTANCE_ID *instance_id)
Encode the instance id as a JSON object according to AT&T's schema.
EVEL_OPTION_STRING local_ip_address
EVEL_OPTION_STRING remote_ip_address
EVEL_EVENT_INSTANCE_ID instance_id
#define EVEL_SIGNALING_MAJOR_VERSION
EVEL_OPTION_STRING local_port
EVEL_OPTION_STRING remote_port
void evel_json_close_object(EVEL_JSON_BUFFER *jbuf)
Add the closing bracket of an object to a JSON buffer.
void evel_json_open_named_object(EVEL_JSON_BUFFER *jbuf, const char *const key)
Add the opening bracket of an object to a JSON buffer.
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.
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.
void evel_signaling_product_id_set(EVENT_SIGNALING *const event, const char *const product_id)
Set the Product Id property of the Signaling event.
EVEL_OPTION_STRING event_friendly_name
EVEL_OPTION_STRING product_id
void evel_json_encode_header(EVEL_JSON_BUFFER *jbuf, EVENT_HEADER *event)
Encode the event as a JSON event object according to AT&T's schema.
EVEL_OPTION_STRING subsystem_id
void evel_free_header(EVENT_HEADER *const event)
Free an event header.
EVENT_SIGNALING * evel_new_signaling(const char *const vendor_id, const char *const event_id)
Create a new Signaling event.
void log_error_state(char *format,...)
void evel_free_option_string(EVEL_OPTION_STRING *const option)
Free the underlying resources of an EVEL_OPTION_STRING.
bool evel_enc_kv_opt_string(EVEL_JSON_BUFFER *jbuf, const char *const key, const EVEL_OPTION_STRING *const option)
Encode a string key and string value to a EVEL_JSON_BUFFER.
void evel_free_signaling(EVENT_SIGNALING *const event)
Free a Signaling event.
EVEL_OPTION_STRING compressed_sip
void evel_header_type_set(EVENT_HEADER *const header, const char *const type)
Set the Event Type property of the event header.
EVEL throttle definitions.
void evel_init_event_instance_id(EVEL_EVENT_INSTANCE_ID *const instance_id, const char *const vendor_id, const char *const event_id)
Initialize an event instance id.
void evel_enc_version(EVEL_JSON_BUFFER *jbuf, const char *const key, const int major_version, const int minor_version)
Encode a key and version.
void evel_signaling_correlator_set(EVENT_SIGNALING *const event, const char *const correlator)
Set the Correlator property of the Signaling event.
void evel_init_header(EVENT_HEADER *const header)
Initialize a newly created event header.
void evel_free_event_instance_id(EVEL_EVENT_INSTANCE_ID *const instance_id)
Free an event instance id.