summaryrefslogtreecommitdiffstats
path: root/src/afb-xreq.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-09-22 14:42:14 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-10-09 14:08:33 +0200
commit325e6a7f034c80562096d60ab01f2e4532eea98c (patch)
treef1794f3e9fc8610132a34f3c0e2ba91bfbdb9513 /src/afb-xreq.h
parent1874271ce06622664e3513e5335b29de2c55ace6 (diff)
Make single afb_request_subcall
Change-Id: I8cc96ef9c05781069f07b807bc6632d13668ac69 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-xreq.h')
-rw-r--r--src/afb-xreq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afb-xreq.h b/src/afb-xreq.h
index 497b1635..d899a3d3 100644
--- a/src/afb-xreq.h
+++ b/src/afb-xreq.h
@@ -118,14 +118,14 @@ extern void afb_xreq_subcall(
const char *api,
const char *verb,
struct json_object *args,
- void (*callback)(void*, int, struct json_object*),
+ void (*callback)(void*, int, struct json_object*, struct afb_request *),
void *cb_closure);
extern void afb_xreq_unhooked_subcall(
struct afb_xreq *xreq,
const char *api,
const char *verb,
struct json_object *args,
- void (*callback)(void*, int, struct json_object*),
+ void (*callback)(void*, int, struct json_object*, struct afb_request *),
void *cb_closure);
extern int afb_xreq_unhooked_subcall_sync(