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
| Parameter | Type | Description |
|---|---|---|
handle | sbio_channel_handle_t * | A pointer to a sbio_channel_handle_t for storing channel information. |
event_name | const char * | The name of the event to send. |
event_fmt | const char * | The format of the event to send. |
event_data | void * | The event data that should be sent. |
event_data_size | int | The size of the data to send. |
Returns
| Type | Description |
|---|---|
int | 0 on success and non-zero on failure. |