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-data.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-data.h')
-rw-r--r-- | 4a-hal-utilities/4a-hal-utilities-data.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/4a-hal-utilities/4a-hal-utilities-data.h b/4a-hal-utilities/4a-hal-utilities-data.h index 62beac8..dda88ba 100644 --- a/4a-hal-utilities/4a-hal-utilities-data.h +++ b/4a-hal-utilities/4a-hal-utilities-data.h @@ -22,7 +22,7 @@ #include <wrap-json.h> -#include <afb-definitions.h> +#include <afb/afb-binding.h> #include <ctl-config.h> @@ -42,7 +42,7 @@ struct CtlHalMixerData { char *verb; char *verbToCall; char *streamCardId; - AFB_EventT event; + afb_event_t event; struct CtlHalMixerData *next; }; @@ -54,14 +54,14 @@ struct CtlHalSpecificData { json_object *halMixerJ; struct CtlHalMixerData *ctlHalStreamsData; - AFB_EventT streamUpdates; + afb_event_t streamUpdates; struct CtlHalMixerData *ctlHalPlaybacksData; struct CtlHalMixerData *ctlHalCapturesData; struct CtlHalAlsaMapT *ctlHalAlsaMapT; - AFB_ApiT apiHandle; + afb_api_t apiHandle; CtlConfigT *ctrlConfig; }; @@ -89,7 +89,7 @@ struct HalMgrData { char *apiName; char *info; - AFB_ApiT apiHandle; + afb_api_t apiHandle; struct SpecificHalData *first; }; @@ -110,7 +110,7 @@ struct SpecificHalData *HalUtlSearchHalDataByApiName(struct SpecificHalData **fi struct SpecificHalData *HalUtlSearchReadyHalDataByCarId(struct SpecificHalData **firstHalData, int cardId); // Exported verbs for 'struct HalMgrData' handling -uint8_t HalUtlInitializeHalMgrData(AFB_ApiT apiHandle, struct HalMgrData *HalMgrGlobalData, char *apiName, char *info); +uint8_t HalUtlInitializeHalMgrData(afb_api_t apiHandle, struct HalMgrData *HalMgrGlobalData, char *apiName, char *info); void HalUtlRemoveHalMgrData(struct HalMgrData *HalMgrGlobalData); #endif /* _HAL_UTILITIES_DATA_INCLUDE_ */
\ No newline at end of file |