diff options
Diffstat (limited to 'src/afb-xreq.h')
-rw-r--r-- | src/afb-xreq.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/afb-xreq.h b/src/afb-xreq.h index fc3e2253..a37b6bfd 100644 --- a/src/afb-xreq.h +++ b/src/afb-xreq.h @@ -118,6 +118,19 @@ extern void afb_xreq_unhooked_subcall( void (*callback)(void*, int, struct json_object*), void *cb_closure); +extern int afb_xreq_unhooked_subcall_sync( + struct afb_xreq *xreq, + const char *api, + const char *verb, + struct json_object *args, + struct json_object **result); +extern int afb_xreq_subcall_sync( + struct afb_xreq *xreq, + const char *api, + const char *verb, + struct json_object *args, + struct json_object **result); + /* initialisation and processing of xreq */ extern void afb_xreq_init(struct afb_xreq *xreq, const struct afb_xreq_query_itf *queryitf); |