AT&T ECOMP Vendor Event Listener library  0.1
Functions
evel_service.c File Reference

Implementation of EVEL functions relating to Service. More...

#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include "evel_throttle.h"
Include dependency graph for evel_service.c:

Go to the source code of this file.

Functions

EVENT_SERVICEevel_new_service (const char *const vendor_id, const char *const event_id)
 Create a new Service event. More...
 
void evel_service_type_set (EVENT_SERVICE *const event, const char *const type)
 Set the Event Type property of the Service event. More...
 
void evel_service_addl_field_add (EVENT_SERVICE *const event, const char *const name, const char *const value)
 Add a name/value pair to the Service, under the additionalFields array. More...
 
void evel_service_product_id_set (EVENT_SERVICE *const event, const char *const product_id)
 Set the Product Id property of the Service event. More...
 
void evel_service_subsystem_id_set (EVENT_SERVICE *const event, const char *const subsystem_id)
 Set the Subsystem Id property of the Service event. More...
 
void evel_service_friendly_name_set (EVENT_SERVICE *const event, const char *const friendly_name)
 Set the Friendly Name property of the Service event. More...
 
void evel_service_correlator_set (EVENT_SERVICE *const event, const char *const correlator)
 Set the Correlator property of the Service event. More...
 
void evel_service_codec_set (EVENT_SERVICE *const event, const char *const codec)
 Set the Codec property of the Service event. More...
 
void evel_service_callee_codec_set (EVENT_SERVICE *const event, const char *const codec)
 Set the Callee Side Codec property of the Service event. More...
 
void evel_service_caller_codec_set (EVENT_SERVICE *const event, const char *const codec)
 Set the Caller Side Codec property of the Service event. More...
 
void evel_service_rtcp_data_set (EVENT_SERVICE *const event, const char *const rtcp_data)
 Set the RTCP Data property of the Service event. More...
 
void evel_service_adjacency_name_set (EVENT_SERVICE *const event, const char *const adjacency_name)
 Set the Adjacency Name property of the Service event. More...
 
void evel_service_endpoint_desc_set (EVENT_SERVICE *const event, const EVEL_SERVICE_ENDPOINT_DESC endpoint_desc)
 Set the Endpoint Descriptor property of the Service event. More...
 
void evel_service_endpoint_jitter_set (EVENT_SERVICE *const event, const int jitter)
 Set the Endpoint Jitter property of the Service event. More...
 
void evel_service_endpoint_rtp_oct_disc_set (EVENT_SERVICE *const event, const int rtp_oct_disc)
 Set the Endpoint Rtp Octets Discarded property of the Service event. More...
 
void evel_service_endpoint_rtp_oct_recv_set (EVENT_SERVICE *const event, const int rtp_oct_recv)
 Set the Endpoint Rtp Octets Received property of the Service event. More...
 
void evel_service_endpoint_rtp_oct_sent_set (EVENT_SERVICE *const event, const int rtp_oct_sent)
 Set the Endpoint Rtp Octets Sent property of the Service event. More...
 
void evel_service_endpoint_rtp_pkt_disc_set (EVENT_SERVICE *const event, const int rtp_pkt_disc)
 Set the Endpoint Rtp Packets Discarded property of the Service event. More...
 
void evel_service_endpoint_rtp_pkt_recv_set (EVENT_SERVICE *const event, const int rtp_pkt_recv)
 Set the Endpoint Rtp Packets Received property of the Service event. More...
 
void evel_service_endpoint_rtp_pkt_sent_set (EVENT_SERVICE *const event, const int rtp_pkt_sent)
 Set the Endpoint Rtp Packets Sent property of the Service event. More...
 
void evel_service_local_jitter_set (EVENT_SERVICE *const event, const int jitter)
 Set the Local Jitter property of the Service event. More...
 
void evel_service_local_rtp_oct_disc_set (EVENT_SERVICE *const event, const int rtp_oct_disc)
 Set the Local Rtp Octets Discarded property of the Service event. More...
 
void evel_service_local_rtp_oct_recv_set (EVENT_SERVICE *const event, const int rtp_oct_recv)
 Set the Local Rtp Octets Received property of the Service event. More...
 
void evel_service_local_rtp_oct_sent_set (EVENT_SERVICE *const event, const int rtp_oct_sent)
 Set the Local Rtp Octets Sent property of the Service event. More...
 
void evel_service_local_rtp_pkt_disc_set (EVENT_SERVICE *const event, const int rtp_pkt_disc)
 Set the Local Rtp Packets Discarded property of the Service event. More...
 
void evel_service_local_rtp_pkt_recv_set (EVENT_SERVICE *const event, const int rtp_pkt_recv)
 Set the Local Rtp Packets Received property of the Service event. More...
 
void evel_service_local_rtp_pkt_sent_set (EVENT_SERVICE *const event, const int rtp_pkt_sent)
 Set the Local Rtp Packets Sent property of the Service event. More...
 
void evel_service_mos_cqe_set (EVENT_SERVICE *const event, const double mos_cqe)
 Set the Mos Cqe property of the Service event. More...
 
void evel_service_packets_lost_set (EVENT_SERVICE *const event, const int packets_lost)
 Set the Packets Lost property of the Service event. More...
 
void evel_service_packet_loss_percent_set (EVENT_SERVICE *const event, const double packet_loss_percent)
 Set the packet Loss Percent property of the Service event. More...
 
void evel_service_r_factor_set (EVENT_SERVICE *const event, const int r_factor)
 Set the R Factor property of the Service event. More...
 
void evel_service_round_trip_delay_set (EVENT_SERVICE *const event, const int round_trip_delay)
 Set the Round Trip Delay property of the Service event. More...
 
void evel_service_phone_number_set (EVENT_SERVICE *const event, const char *const phone_number)
 Set the Phone Number property of the Service event. More...
 
void evel_json_encode_service (EVEL_JSON_BUFFER *const jbuf, EVENT_SERVICE *const event)
 Encode the Service in JSON according to AT&T's schema for the event type. More...
 
void evel_free_service (EVENT_SERVICE *const event)
 Free a Service event. More...
 

Detailed Description

Implementation of EVEL functions relating to Service.

License

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. All advertising materials mentioning features or use of this software must display the following acknowledgement: This product includes software developed by the AT&T.
  4. Neither the name of AT&T nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

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_service.c.

Function Documentation

§ evel_free_service()

void evel_free_service ( EVENT_SERVICE *const  event)

Free a Service event.

Free a Service Events event.

Free off the event supplied. Will free all the contained allocated memory.

Note
It does not free the event itself, since that may be part of a larger structure.

Definition at line 1277 of file evel_service.c.

§ evel_json_encode_service()

void evel_json_encode_service ( EVEL_JSON_BUFFER *const  jbuf,
EVENT_SERVICE *const  event 
)

Encode the Service in JSON according to AT&T's schema for the event type.

Encode the Service Event in JSON according to AT&T's schema for the event type.

Parameters
jbufPointer to the EVEL_JSON_BUFFER to encode into.
eventPointer to the EVENT_HEADER to encode.

Definition at line 1030 of file evel_service.c.

§ evel_new_service()

EVENT_SERVICE* evel_new_service ( const char *const  vendor_id,
const char *const  event_id 
)

Create a new Service event.

Note
The mandatory fields on the Service must be supplied to this factory function and are immutable once set. Optional fields have explicit setter functions, but again values may only be set once so that the event has immutable properties.
Parameters
vendor_idThe vendor id to encode in the event instance id.
event_idThe vendor event id to encode in the event instance id.
Returns
pointer to the newly manufactured EVENT_SERVICE. If the event is not used (i.e. posted) it must be released using evel_free_service.
Return values
NULLFailed to create the event.

Definition at line 55 of file evel_service.c.

§ evel_service_addl_field_add()

void evel_service_addl_field_add ( EVENT_SERVICE *const  event,
const char *const  name,
const char *const  value 
)

Add a name/value pair to the Service, under the additionalFields array.

The name and value are null delimited ASCII strings. The library takes a copy so the caller does not have to preserve values after the function returns.

Parameters
eventPointer to the Service event.
nameASCIIZ string with the field's name. The caller does not need to preserve the value once the function returns.
valueASCIIZ string with the field's value. The caller does not need to preserve the value once the function returns.

Definition at line 163 of file evel_service.c.

§ evel_service_adjacency_name_set()

void evel_service_adjacency_name_set ( EVENT_SERVICE *const  event,
const char *const  adjacency_name 
)

Set the Adjacency Name property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
adjacency_nameThe adjacency name to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 434 of file evel_service.c.

§ evel_service_callee_codec_set()

void evel_service_callee_codec_set ( EVENT_SERVICE *const  event,
const char *const  codec 
)

Set the Callee Side Codec property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
codecThe codec to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 347 of file evel_service.c.

§ evel_service_caller_codec_set()

void evel_service_caller_codec_set ( EVENT_SERVICE *const  event,
const char *const  codec 
)

Set the Caller Side Codec property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
codecThe codec to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 375 of file evel_service.c.

§ evel_service_codec_set()

void evel_service_codec_set ( EVENT_SERVICE *const  event,
const char *const  codec 
)

Set the Codec property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
codecThe codec to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 319 of file evel_service.c.

§ evel_service_correlator_set()

void evel_service_correlator_set ( EVENT_SERVICE *const  event,
const char *const  correlator 
)

Set the Correlator property of the Service event.

Set the correlator property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
correlatorThe correlator to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 291 of file evel_service.c.

§ evel_service_endpoint_desc_set()

void evel_service_endpoint_desc_set ( EVENT_SERVICE *const  event,
const EVEL_SERVICE_ENDPOINT_DESC  endpoint_desc 
)

Set the Endpoint Descriptor property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
endpoint_descThe endpoint descriptor to be set.

Definition at line 461 of file evel_service.c.

§ evel_service_endpoint_jitter_set()

void evel_service_endpoint_jitter_set ( EVENT_SERVICE *const  event,
const int  jitter 
)

Set the Endpoint Jitter property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
jitterThe jitter to be set.

Definition at line 489 of file evel_service.c.

§ evel_service_endpoint_rtp_oct_disc_set()

void evel_service_endpoint_rtp_oct_disc_set ( EVENT_SERVICE *const  event,
const int  rtp_oct_disc 
)

Set the Endpoint Rtp Octets Discarded property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_oct_discThe discard count.

Definition at line 516 of file evel_service.c.

§ evel_service_endpoint_rtp_oct_recv_set()

void evel_service_endpoint_rtp_oct_recv_set ( EVENT_SERVICE *const  event,
const int  rtp_oct_recv 
)

Set the Endpoint Rtp Octets Received property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_oct_recvThe receive count.

Definition at line 543 of file evel_service.c.

§ evel_service_endpoint_rtp_oct_sent_set()

void evel_service_endpoint_rtp_oct_sent_set ( EVENT_SERVICE *const  event,
const int  rtp_oct_sent 
)

Set the Endpoint Rtp Octets Sent property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_oct_sentThe send count.

Definition at line 570 of file evel_service.c.

§ evel_service_endpoint_rtp_pkt_disc_set()

void evel_service_endpoint_rtp_pkt_disc_set ( EVENT_SERVICE *const  event,
const int  rtp_pkt_disc 
)

Set the Endpoint Rtp Packets Discarded property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_pkt_discThe discard count.

Definition at line 597 of file evel_service.c.

§ evel_service_endpoint_rtp_pkt_recv_set()

void evel_service_endpoint_rtp_pkt_recv_set ( EVENT_SERVICE *const  event,
const int  rtp_pkt_recv 
)

Set the Endpoint Rtp Packets Received property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_pkt_recvThe receive count.

Definition at line 624 of file evel_service.c.

§ evel_service_endpoint_rtp_pkt_sent_set()

void evel_service_endpoint_rtp_pkt_sent_set ( EVENT_SERVICE *const  event,
const int  rtp_pkt_sent 
)

Set the Endpoint Rtp Packets Sent property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_pkt_sentThe send count.

Definition at line 651 of file evel_service.c.

§ evel_service_friendly_name_set()

void evel_service_friendly_name_set ( EVENT_SERVICE *const  event,
const char *const  friendly_name 
)

Set the Friendly Name property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
friendly_nameThe vendor friendly name to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 262 of file evel_service.c.

§ evel_service_local_jitter_set()

void evel_service_local_jitter_set ( EVENT_SERVICE *const  event,
const int  jitter 
)

Set the Local Jitter property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
jitterThe jitter to be set.

Definition at line 678 of file evel_service.c.

§ evel_service_local_rtp_oct_disc_set()

void evel_service_local_rtp_oct_disc_set ( EVENT_SERVICE *const  event,
const int  rtp_oct_disc 
)

Set the Local Rtp Octets Discarded property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_oct_discThe discard count.

Definition at line 705 of file evel_service.c.

§ evel_service_local_rtp_oct_recv_set()

void evel_service_local_rtp_oct_recv_set ( EVENT_SERVICE *const  event,
const int  rtp_oct_recv 
)

Set the Local Rtp Octets Received property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_oct_recvThe receive count.

Definition at line 732 of file evel_service.c.

§ evel_service_local_rtp_oct_sent_set()

void evel_service_local_rtp_oct_sent_set ( EVENT_SERVICE *const  event,
const int  rtp_oct_sent 
)

Set the Local Rtp Octets Sent property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_oct_sentThe send count.

Definition at line 759 of file evel_service.c.

§ evel_service_local_rtp_pkt_disc_set()

void evel_service_local_rtp_pkt_disc_set ( EVENT_SERVICE *const  event,
const int  rtp_pkt_disc 
)

Set the Local Rtp Packets Discarded property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_pkt_discThe discard count.

Definition at line 786 of file evel_service.c.

§ evel_service_local_rtp_pkt_recv_set()

void evel_service_local_rtp_pkt_recv_set ( EVENT_SERVICE *const  event,
const int  rtp_pkt_recv 
)

Set the Local Rtp Packets Received property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_pkt_recvThe receive count.

Definition at line 813 of file evel_service.c.

§ evel_service_local_rtp_pkt_sent_set()

void evel_service_local_rtp_pkt_sent_set ( EVENT_SERVICE *const  event,
const int  rtp_pkt_sent 
)

Set the Local Rtp Packets Sent property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtp_pkt_sentThe send count.

Definition at line 840 of file evel_service.c.

§ evel_service_mos_cqe_set()

void evel_service_mos_cqe_set ( EVENT_SERVICE *const  event,
const double  mos_cqe 
)

Set the Mos Cqe property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
mos_cqeThe mosCqe to be set.

Definition at line 867 of file evel_service.c.

§ evel_service_packet_loss_percent_set()

void evel_service_packet_loss_percent_set ( EVENT_SERVICE *const  event,
const double  packet_loss_percent 
)

Set the packet Loss Percent property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
packet_loss_percentThe packet loss in percent.

Definition at line 922 of file evel_service.c.

§ evel_service_packets_lost_set()

void evel_service_packets_lost_set ( EVENT_SERVICE *const  event,
const int  packets_lost 
)

Set the Packets Lost property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
packets_lostThe number of packets lost to be set.

Definition at line 894 of file evel_service.c.

§ evel_service_phone_number_set()

void evel_service_phone_number_set ( EVENT_SERVICE *const  event,
const char *const  phone_number 
)

Set the Phone Number property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
phone_numberThe Phone Number to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 1006 of file evel_service.c.

§ evel_service_product_id_set()

void evel_service_product_id_set ( EVENT_SERVICE *const  event,
const char *const  product_id 
)

Set the Product Id property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
product_idThe vendor product id to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 204 of file evel_service.c.

§ evel_service_r_factor_set()

void evel_service_r_factor_set ( EVENT_SERVICE *const  event,
const int  r_factor 
)

Set the R Factor property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
r_factorThe R Factor to be set.

Definition at line 949 of file evel_service.c.

§ evel_service_round_trip_delay_set()

void evel_service_round_trip_delay_set ( EVENT_SERVICE *const  event,
const int  round_trip_delay 
)

Set the Round Trip Delay property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
round_trip_delayThe Round trip delay to be set.

Definition at line 977 of file evel_service.c.

§ evel_service_rtcp_data_set()

void evel_service_rtcp_data_set ( EVENT_SERVICE *const  event,
const char *const  rtcp_data 
)

Set the RTCP Data property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
rtcp_dataThe RTCP Data to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 404 of file evel_service.c.

§ evel_service_subsystem_id_set()

void evel_service_subsystem_id_set ( EVENT_SERVICE *const  event,
const char *const  subsystem_id 
)

Set the Subsystem Id property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
subsystem_idThe vendor subsystem id to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 233 of file evel_service.c.

§ evel_service_type_set()

void evel_service_type_set ( EVENT_SERVICE *const  event,
const char *const  type 
)

Set the Event Type property of the Service event.

Note
The property is treated as immutable: it is only valid to call the setter once. However, we don't assert if the caller tries to overwrite, just ignoring the update instead.
Parameters
eventPointer to the Service event.
typeThe Event Type to be set. ASCIIZ string. The caller does not need to preserve the value once the function returns.

Definition at line 135 of file evel_service.c.