afb-proto-ws: Add message for unexpected event
[src/app-framework-binder.git] / src / afb-evt.h
index 6e0297f..3392ee3 100644 (file)
@@ -60,6 +60,7 @@ extern int afb_evt_evtid_broadcast(struct afb_evtid *evtid, struct json_object *
 
 extern int afb_evt_watch_add_evtid(struct afb_evt_listener *listener, struct afb_evtid *evtid);
 extern int afb_evt_watch_sub_evtid(struct afb_evt_listener *listener, struct afb_evtid *evtid);
+extern int afb_evt_watch_sub_eventid(struct afb_evt_listener *listener, uint16_t eventid);
 
 
 extern struct afb_event_x2 *afb_evt_event_x2_create(const char *fullname);
@@ -89,4 +90,4 @@ extern const char *afb_evt_evtid_hooked_name(struct afb_evtid *evtid);
 extern int afb_evt_evtid_hooked_push(struct afb_evtid *evtid, struct json_object *obj);
 extern int afb_evt_evtid_hooked_broadcast(struct afb_evtid *evtid, struct json_object *object);
 extern void afb_evt_update_hooks();
-#endif
\ No newline at end of file
+#endif