diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-05-23 20:21:48 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:51:00 +0200 |
commit | 5a2853b996f025b1d331ecbc9c5c136398343f4a (patch) | |
tree | eaec71824885751f3935be89498f510463db48b4 /4a-hal/4a-hal-utilities/4a-hal-utilities-data.h | |
parent | 5fa641b973806749d85e73b7821ac8098d6607f6 (diff) |
Change names of some structures fields
Change names of some structures fields to match the fileds name
in controller structure.
Change-Id: I579ec53835daa010154982539d09d5a2dcbd28b2
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-utilities/4a-hal-utilities-data.h')
-rw-r--r-- | 4a-hal/4a-hal-utilities/4a-hal-utilities-data.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h index 3ae16db..ab4c8b3 100644 --- a/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h +++ b/4a-hal/4a-hal-utilities/4a-hal-utilities-data.h @@ -33,7 +33,7 @@ enum HalStatus { // Structure to store specific hal (controller or external) data struct SpecificHalData { - char *name; + char *apiName; enum HalStatus status; char *sndCard; char *info; @@ -53,8 +53,8 @@ struct SpecificHalData { // Structure to store hal manager data struct HalMgrData { - char *name; - char *description; + char *apiName; + char *info; afb_dynapi *apiHandle; @@ -66,10 +66,10 @@ struct SpecificHalData *HalUtlAddHalApiToHalList(struct HalMgrData *HalMgrGlobal uint8_t HalUtlRemoveSelectedHalFromList(struct HalMgrData *HalMgrGlobalData, struct SpecificHalData *ApiToRemove); uint64_t HalUtlRemoveAllHalFromList(struct HalMgrData *HalMgrGlobalData); uint64_t HalUtlGetNumberOfHalInList(struct HalMgrData *HalMgrGlobalData); -struct SpecificHalData *HalUtlSearchHalDataByApiName(struct HalMgrData *HalMgrGlobalData, char *name); +struct SpecificHalData *HalUtlSearchHalDataByApiName(struct HalMgrData *HalMgrGlobalData, char *apiName); // Exported verbs for 'struct HalMgrData' handling -uint8_t HalUtlInitializeHalMgrData(afb_dynapi *apiHandle, struct HalMgrData *HalMgrGlobalData, char *name, char *description); +uint8_t HalUtlInitializeHalMgrData(afb_dynapi *apiHandle, struct HalMgrData *HalMgrGlobalData, char *apiName, char *info); void HalUtlRemoveHalMgrData(struct HalMgrData *HalMgrGlobalData); #endif /* _HAL_UTILITIES_DATA_INCLUDE_ */
\ No newline at end of file |