Skip to main content
Version: 9.0.2

sbio_send_event

int sbio_send_event(
sbio_channel_handle_t *handle,
const char *event_name,
const char *event_fmt,
void *event_data,
int event_data_size);

Sends an event on a channel that has been opened for sending.

Parameters

ParameterTypeDescription
handlesbio_channel_handle_t *A pointer to a sbio_channel_handle_t for storing channel information.
event_nameconst char *The name of the event to send.
event_fmtconst char *The format of the event to send.
event_datavoid *The event data that should be sent.
event_data_sizeintThe size of the data to send.

Returns

TypeDescription
int0 on success and non-zero on failure.