- void (*on_event_create)(void *closure, const char *event_name, int event_id);
- void (*on_event_remove)(void *closure, const char *event_name, int event_id);
- void (*on_event_subscribe)(void *closure, void *request, const char *event_name, int event_id);
- void (*on_event_unsubscribe)(void *closure, void *request, const char *event_name, int event_id);
- void (*on_event_push)(void *closure, const char *event_name, int event_id, struct json_object *data);
- void (*on_event_broadcast)(void *closure, const char *event_name, struct json_object *data);
+ void (*on_event_create)(void *closure, uint16_t event_id, const char *event_name);
+ void (*on_event_remove)(void *closure, uint16_t event_id);
+ void (*on_event_subscribe)(void *closure, void *request, uint16_t event_id);
+ void (*on_event_unsubscribe)(void *closure, void *request, uint16_t event_id);
+ void (*on_event_push)(void *closure, uint16_t event_id, struct json_object *data);
+ void (*on_event_broadcast)(void *closure, const char *event_name, struct json_object *data, const afb_proto_ws_uuid_t uuid, uint8_t hop);