diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-01-21 17:07:36 +0100 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-01-28 15:38:58 +0100 |
commit | 756f8d02b445631df44243d528165fb1fe414487 (patch) | |
tree | 1ef835068d6cf24f33eeb0a0a136865a23a1884e /4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.h | |
parent | 524ad81cd52d52555d0e6cbaf865f6bb6cfecb25 (diff) |
Move from controller functions to afb functions
Move from controller 'afb-definitions.h' functions to
application framework 'afb/afb-binding.h' functions.
Change-Id: I4cd62af881ef8ac949b082ede9dfcc4736d1e12c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.h')
-rw-r--r-- | 4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.h b/4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.h index 923ca6b..2bdbaab 100644 --- a/4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.h +++ b/4a-hal-utilities/4a-hal-utilities-appfw-responses-handler.h @@ -22,7 +22,7 @@ #include <wrap-json.h> -#include <afb-definitions.h> +#include <afb/afb-binding.h> // Enum for the type of error detected enum CallError { @@ -39,7 +39,7 @@ enum CallError { }; // Handle application framework response function -extern enum CallError HalUtlHandleAppFwCallError(AFB_ApiT apiHandle, char *apiCalled, char *verbCalled, json_object *callReturnJ, char **returnedStatus, char **returnedInfo); -void HalUtlHandleAppFwCallErrorInRequest(AFB_ReqT request, char *apiCalled, char *verbCalled, json_object *callReturnJ, char *errorStatusToSend); +extern enum CallError HalUtlHandleAppFwCallError(afb_api_t apiHandle, char *apiCalled, char *verbCalled, json_object *callReturnJ, char **returnedStatus, char **returnedInfo); +void HalUtlHandleAppFwCallErrorInRequest(afb_req_t request, char *apiCalled, char *verbCalled, json_object *callReturnJ, char *errorStatusToSend); #endif /* _HAL_UTILITIES_APPFW_RESP_HANDLER_INCLUDE_ */
\ No newline at end of file |