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/4a-hal-controllers/4a-hal-controllers-mixer-link.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/4a-hal-controllers/4a-hal-controllers-mixer-link.h')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h index db42001..f7d8f83 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-mixer-link.h @@ -22,6 +22,8 @@ #include <wrap-json.h> +#include <afb/afb-binding.h> + #include <afb-helpers-utils.h> #include "4a-hal-utilities-data.h" @@ -57,7 +59,12 @@ enum MixerStatus { }; // HAL controllers handle mixer calls functions -int HalCtlsAttachToMixer(AFB_ApiT apiHandle); -int HalCtlsGetInfoFromMixer(AFB_ApiT apiHandle, char *apiToCall, json_object *requestJson, json_object **toReturnJ, char **returnedStatus, char **returnedInfo); +int HalCtlsAttachToMixer(afb_api_t apiHandle); +int HalCtlsGetInfoFromMixer(afb_api_t apiHandle, + char *apiToCall, + json_object *requestJson, + json_object **toReturnJ, + char **returnedStatus, + char **returnedInfo); #endif /* _HAL_CTLS_SOFTMIXER_LINK_INCLUDE_ */
\ No newline at end of file |