Add 'afb_service_call_sync' function
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 29 May 2017 12:16:13 +0000 (14:16 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 29 May 2017 12:16:13 +0000 (14:16 +0200)
commit090379fdaf6ed1860dcff21424135ad71ead0cd2
treeb7c9bde501e86a9fcf4a801444a670de3339208a
parentce8d87d91aa710702b02a371278f4e1f39ea195c
Add 'afb_service_call_sync' function

This new function allows to call features for the
services synchronously.

Also refactoring how are handled arguments to
calls. The call to 'json_object_put' is now always
done by the binder.

Change-Id: I910517da75b179aeafc824da4ce29bc299711990
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
14 files changed:
bindings/samples/HelloWorld.c
include/afb/afb-binding-v1.h
include/afb/afb-binding-v2.h
include/afb/afb-binding.h
include/afb/afb-req-itf.h
include/afb/afb-service-common.h
include/afb/afb-service-v1.h
include/afb/afb-service-v2.h
src/afb-hreq.c
src/afb-stub-ws.c
src/afb-subcall.c
src/afb-svc.c
src/afb-ws-json1.c
src/afb-xreq.c