summaryrefslogtreecommitdiffstats
path: root/include/afb
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2018-08-20 14:44:31 +0200
committerJose Bollo <jose.bollo@iot.bzh>2018-08-20 14:44:31 +0200
commit6492d061bf5753bb3bb67b771fc2f9ce0c910c2b (patch)
tree1b8f7c267e8028934ec5cf8e8965deb98c662423 /include/afb
parent57a4177d8d0f5c0bbc88f18a4d593f7cf2c8ba55 (diff)
Provide functions afb_service_call[_sync]_legacy
These functions was missing and the documentation was erronous. This fixes that issue by providing the missing functions and updating the documentation. Bug-AGL: SPEC-1669 Change-Id: I543b0fbe29370be6f35f15ca3bfa48fef9ab4055 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb')
-rw-r--r--include/afb/afb-binding-predefs.h2
-rw-r--r--include/afb/afb-binding-v3.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/afb/afb-binding-predefs.h b/include/afb/afb-binding-predefs.h
index 56ac504b..47907a4a 100644
--- a/include/afb/afb-binding-predefs.h
+++ b/include/afb/afb-binding-predefs.h
@@ -370,6 +370,8 @@
# define afb_service_call afb_service_call_v3
# define afb_service_call_sync afb_service_call_sync_v3
+# define afb_service_call_legacy afb_service_call_legacy_v3
+# define afb_service_call_sync_legacy afb_service_call_sync_legacy_v3
# define AFB_ERROR AFB_ERROR_V3
# define AFB_WARNING AFB_WARNING_V3
diff --git a/include/afb/afb-binding-v3.h b/include/afb/afb-binding-v3.h
index 9df2eb99..84af4861 100644
--- a/include/afb/afb-binding-v3.h
+++ b/include/afb/afb-binding-v3.h
@@ -259,4 +259,6 @@ extern const struct afb_binding_v3 afbBindingV3;
#define afb_service_call_v3(...) afb_api_call(afbBindingV3root,__VA_ARGS__)
#define afb_service_call_sync_v3(...) afb_api_call_sync(afbBindingV3root,__VA_ARGS__)
+#define afb_service_call_legacy_v3(...) afb_api_call_legacy(afbBindingV3root,__VA_ARGS__)
+#define afb_service_call_sync_legacy_v3(...) afb_api_call_sync_legacy(afbBindingV3root,__VA_ARGS__)