Updated: April 19, 2023 |
Prototype of handlers for new topic events
#include <pips/event.h>
typedef int pips_event_new_topic_handler_t(void *user_data, const char *topic_name, const char *topic_type);
This data type describes the prototype for callback functions that can be registered by clients to handle new topic events from the PiPS framework.
The event framework expects that the handler will return a negative value and set errno if it encounters an error condition, and return a value greater than or equal to zero on success.