From 6492d061bf5753bb3bb67b771fc2f9ce0c910c2b Mon Sep 17 00:00:00 2001 From: Jose Bollo Date: Mon, 20 Aug 2018 14:44:31 +0200 Subject: 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 --- docs/reference-v3/func-api.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'docs/reference-v3/func-api.md') diff --git a/docs/reference-v3/func-api.md b/docs/reference-v3/func-api.md index ef3816d0..aa28932a 100644 --- a/docs/reference-v3/func-api.md +++ b/docs/reference-v3/func-api.md @@ -279,7 +279,7 @@ struct json_object *afb_api_settings( ```C /** - * Calls the 'verb' of the 'api' with the arguments 'args' and 'verb' in the name of the binding. + * Calls the 'verb' of the 'apiname' with the arguments 'args' and 'verb' in the name of the binding 'api'. * The result of the call is delivered to the 'callback' function with the 'callback_closure'. * * For convenience, the function calls 'json_object_put' for 'args'. @@ -323,7 +323,7 @@ void afb_api_call( ```C /** - * Calls the 'verb' of the 'api' with the arguments 'args' and 'verb' in the name of the binding. + * Calls the 'verb' of the 'apiname' with the arguments 'args' and 'verb' in the name of the binding 'api'. * 'result' will receive the response. * * For convenience, the function calls 'json_object_put' for 'args'. @@ -880,8 +880,10 @@ of work. /** * @deprecated try to use @ref afb_api_call instead * - * * Calls the 'verb' of the 'api' with the arguments 'args' and 'verb' in the name of the binding. - * The result of the call is delivered to the 'callback' function with the 'callback_closure'. + * Calls the 'verb' of the 'apiname' with the arguments 'args' and 'verb' + * in the name of the binding. + * The result of the call is delivered to the 'callback' function + * with the 'callback_closure'. * * For convenience, the function calls 'json_object_put' for 'args'. * Thus, in the case where 'args' should remain available after @@ -924,7 +926,8 @@ void afb_api_call_legacy( /** * @deprecated try to use @ref afb_api_call_sync instead * - * Calls the 'verb' of the 'api' with the arguments 'args' and 'verb' in the name of the binding. + * Calls the 'verb' of the 'apiname' with the arguments 'args' and 'verb' + * in the name of the binding. * 'result' will receive the response. * * For convenience, the function calls 'json_object_put' for 'args'. -- cgit 1.2.3-korg