subcall_req: introduce afb_req_subcall_req
authorJosé Bollo <jose.bollo@iot.bzh>
Wed, 2 Aug 2017 17:14:09 +0000 (19:14 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 3 Aug 2017 09:47:27 +0000 (11:47 +0200)
commitbdff72f45e1d02f596595f6229d5bccf7c0827c2
tree9a4eb13b2d784df41e7e46cbcc2fab6fab9977c7
parentd0c20134a2c9ecb53045b63cb1e0d6e2aa2b26d2
subcall_req: introduce afb_req_subcall_req

The function 'afb_req_subcall_req' can be used to make asynchronous
subcalls. It improves the function 'afb_req_subcall' by automatically
keeping the request opened for the callback and by passing it, the
request, as an extra argument of the callback.

Change-Id: I2dc79c01fc25c7a65b9c8cc9e001a5b85fba99df
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
bindings/samples/HelloWorld.c
docs/afb-binding-references.md
include/afb/afb-req-common.h
src/afb-hook.c
src/afb-hook.h
src/afb-xreq.c