aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-xreq.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-04-07 10:57:55 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-04-07 10:57:55 +0200
commit4846cec0be7f41f992b9f89b7adb97033e15b1a0 (patch)
tree0b03d4f8cd60af9057452c4c3e6301a610e851b2 /src/afb-xreq.h
parent522569c5a9da8566f5213fa5b9b3abadf746331d (diff)
Finalize hooking of requests
Change-Id: I0c03b2c8ce556f1e6987ee5a7ad355ba9e67f142 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-xreq.h')
-rw-r--r--src/afb-xreq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afb-xreq.h b/src/afb-xreq.h
index 3376bb22..ba99d4af 100644
--- a/src/afb-xreq.h
+++ b/src/afb-xreq.h
@@ -67,6 +67,7 @@ extern const char *afb_xreq_raw(struct afb_xreq *xreq, size_t *size);
extern int afb_xreq_subscribe(struct afb_xreq *xreq, struct afb_event event);
extern int afb_xreq_unsubscribe(struct afb_xreq *xreq, struct afb_event event);
extern void afb_xreq_subcall(struct afb_xreq *xreq, const char *api, const char *verb, struct json_object *args, void (*callback)(void*, int, struct json_object*), 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 *cb_closure);
extern void afb_xreq_begin(struct afb_xreq *xreq);
extern void afb_xreq_call(struct afb_xreq *xreq, int sessionflags, void (*callback)(struct afb_req req));