diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-09-22 14:42:14 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-10-09 14:08:33 +0200 |
commit | 325e6a7f034c80562096d60ab01f2e4532eea98c (patch) | |
tree | f1794f3e9fc8610132a34f3c0e2ba91bfbdb9513 /include/afb/afb-request-itf.h | |
parent | 1874271ce06622664e3513e5335b29de2c55ace6 (diff) |
Make single afb_request_subcall
Change-Id: I8cc96ef9c05781069f07b807bc6632d13668ac69
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 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/afb/afb-request-itf.h b/include/afb/afb-request-itf.h index a5c3f82a..9e55a361 100644 --- a/include/afb/afb-request-itf.h +++ b/include/afb/afb-request-itf.h @@ -171,5 +171,14 @@ struct afb_request_itf int (*unsubscribe_eventid)( struct afb_request *request, struct afb_eventid *eventid); + + void (*subcall_request)( + struct afb_request *request, + const char *api, + const char *verb, + struct json_object *args, + void (*callback)(void*, int, struct json_object*, struct afb_request *request), + void *cb_closure); + }; |