diff options
author | Jose Bollo <jose.bollo@iot.bzh> | 2019-12-17 08:22:00 +0100 |
---|---|---|
committer | Jose Bollo <jose.bollo@iot.bzh> | 2020-01-03 16:53:38 +0100 |
commit | f40979c718fa6fe6b571e133e1bf19fc90957298 (patch) | |
tree | c54c20daa5652d431254a90e67ada7e5cae97aa3 /src/afb-evt.h | |
parent | ca0f859d96599c8ae295c85f825030c891969de1 (diff) |
afb-proto-ws: Add message for unexpected event
This new message allows to revoke an event no more
expected or listened.
Bug-AGL: SPEC-3069
Change-Id: I71945e322276f29b01b628bdf43d75599b521fc3
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-evt.h')
-rw-r--r-- | src/afb-evt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afb-evt.h b/src/afb-evt.h index 6e0297f6..3392ee3d 100644 --- a/src/afb-evt.h +++ b/src/afb-evt.h @@ -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 |