diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-09-22 07:58:05 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-10-09 14:08:32 +0200 |
commit | ce23b9e7ff8443c46ed21804277d8db90671a3b4 (patch) | |
tree | 04c9bf4f008e775171ed1026dd7ade10431ef45c /include/afb/afb-request-itf.h | |
parent | 39a955678ac5f16646e5841a720d1d358600dabb (diff) |
Prepare subscription to eventid
Change-Id: Ie3f75377009be36f7f5bd52bdb31d0611cd49778
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-request-itf.h')
-rw-r--r-- | include/afb/afb-request-itf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/afb/afb-request-itf.h b/include/afb/afb-request-itf.h index 4c62b3de..a5c3f82a 100644 --- a/include/afb/afb-request-itf.h +++ b/include/afb/afb-request-itf.h @@ -163,5 +163,13 @@ struct afb_request_itf void *(*create_value)(void *creation_closure), void (*free_value)(void*), void *creation_closure); + + int (*subscribe_eventid)( + struct afb_request *request, + struct afb_eventid *eventid); + + int (*unsubscribe_eventid)( + struct afb_request *request, + struct afb_eventid *eventid); }; |