aboutsummaryrefslogtreecommitdiffstats
path: root/include/afb/afb-request-itf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/afb/afb-request-itf.h')
-rw-r--r--include/afb/afb-request-itf.h9
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);
+
};