From 5fa641b973806749d85e73b7821ac8098d6607f6 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Wed, 23 May 2018 20:43:00 +0200 Subject: Get Hal controller api structure fields properly Because of a recent change in the app-controller, change the way that metadata was get. Avoid to parse json again and use only CtlConfigT strcuture fields to fill Hal controller api structure. Add a fields info in Hal controller api structure. Change-Id: I17ff00bfd6d0991bed47831a92bf81ddcf3fb4c9 Signed-off-by: Jonathan Aillet --- 4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.h | 8 -------- 1 file changed, 8 deletions(-) (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.h') diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.h b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.h index b2b42f3..e3d449c 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.h +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-api-loader.h @@ -25,14 +25,6 @@ #include "../4a-hal-utilities/4a-hal-utilities-data.h" -// Api info definitions -#define HAL_CTLS_API_NAME_MAX_SIZE 32 -#define HAL_CTLS_API_INFO_MAX_SIZE 64 -#define HAL_CTLS_API_SNDCARD_MAX_SIZE 128 -#define HAL_CTLS_API_AUTHOR_MAX_SIZE 32 -#define HAL_CTLS_API_VERSION_MAX_SIZE 16 -#define HAL_CTLS_API_DATE_MAX_SIZE 16 - // Verbs that can be use to create api int HalCtlsCreateApi(afb_dynapi *apiHandle, char *path, struct HalMgrData *HalMgrGlobalData); int HalCtlsCreateAllApi(afb_dynapi *apiHandle, struct HalMgrData *HalMgrGlobalData); -- cgit 1.2.3-korg