diff options
Diffstat (limited to '4a-hal/4a-hal-manager')
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager-cb.c | 24 | ||||
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager-events.c | 2 | ||||
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager-events.h | 2 | ||||
-rw-r--r-- | 4a-hal/4a-hal-manager/4a-hal-manager.c | 4 |
4 files changed, 16 insertions, 16 deletions
diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c index 41517f6..e4dc56c 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c @@ -32,15 +32,15 @@ * HAL Manager event handler function * ******************************************************************************/ -// TODO JAI : to implement +// TBD JAI : to implement void HalMgrDispatchApiEvent(AFB_ApiT apiHandle, const char *evtLabel, json_object *eventJ) { - AFB_ApiWarning(apiHandle, "JAI :%s not implemented yet", __func__); + AFB_ApiWarning(apiHandle, "%s not implemented yet", __func__); // Use "4a-hal-manager-events.h" to handle events } /******************************************************************************* - * TODO JAI : Present for test, delete this function when validated * + * TBD JAI : Present for test, delete this function when validated * ******************************************************************************/ void HalMgrPing(AFB_ReqT request) @@ -50,9 +50,9 @@ void HalMgrPing(AFB_ReqT request) count++; if(request->dynapi) - AFB_ReqNotice(request, "JAI :%s (%s): ping count = %d", request->api, request->dynapi->apiname, count); + AFB_ReqNotice(request, "%s (%s): ping count = %d", request->api, request->dynapi->apiname, count); else - AFB_ReqNotice(request, "JAI: %s: ping count = %d", request->api, count); + AFB_ReqNotice(request, "%s: ping count = %d", request->api, count); AFB_ReqSucess(request, json_object_new_int(count), NULL); @@ -184,7 +184,7 @@ void HalMgrLoad(AFB_ReqT request) return; } - // TODO JAI: try connect to the api to test if it really exists + // TBD JAI: try connect to the api to test if it really exists addedHal = HalUtlAddHalApiToHalList(HalMgrGlobalData); @@ -206,7 +206,7 @@ void HalMgrLoad(AFB_ReqT request) if(date) addedHal->date = strdup(date); - // TODO JAI: add subscription to this api status events + // TBD JAI: add subscription to this api status events AFB_ReqSucess(request, NULL, "Api successfully registered"); } @@ -260,23 +260,23 @@ void HalMgrUnload(AFB_ReqT request) return; } - // TODO JAI: remove subscription to this api status events + // TBD JAI: remove subscription to this api status events AFB_ReqSucess(request, NULL, "Api successfully unregistered"); } -// TODO JAI : to implement +// TBD JAI : to implement void HalMgrSubscribeEvent(AFB_ReqT request) { - AFB_ReqWarning(request, "JAI :%s not implemented yet", __func__); + AFB_ReqWarning(request, "%s not implemented yet", __func__); AFB_ReqSucess(request, json_object_new_boolean(false), NULL); } -// TODO JAI : to implement +// TBD JAI : to implement void HalMgrUnsubscribeEvent(AFB_ReqT request) { - AFB_ReqWarning(request, "JAI :%s not implemented yet", __func__); + AFB_ReqWarning(request, "%s not implemented yet", __func__); AFB_ReqSucess(request, json_object_new_boolean(false), NULL); }
\ No newline at end of file diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-events.c b/4a-hal/4a-hal-manager/4a-hal-manager-events.c index 7c1fd65..a2bbe33 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-events.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager-events.c @@ -26,4 +26,4 @@ #include "../4a-hal-utilities/4a-hal-utilities-data.h" #include "4a-hal-manager-events.h" -// TODO JAI: implement events handlers functions
\ No newline at end of file +// TBD JAI: implement events handlers functions
\ No newline at end of file diff --git a/4a-hal/4a-hal-manager/4a-hal-manager-events.h b/4a-hal/4a-hal-manager/4a-hal-manager-events.h index e1c84c6..30034cf 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager-events.h +++ b/4a-hal/4a-hal-manager/4a-hal-manager-events.h @@ -22,6 +22,6 @@ #include <afb-definitions.h> -// TODO JAI: declare events handlers functions +// TBD JAI: declare events handlers functions #endif /* _HALMGR_EVENTS_INCLUDE_ */
\ No newline at end of file diff --git a/4a-hal/4a-hal-manager/4a-hal-manager.c b/4a-hal/4a-hal-manager/4a-hal-manager.c index 8df5365..df35d12 100644 --- a/4a-hal/4a-hal-manager/4a-hal-manager.c +++ b/4a-hal/4a-hal-manager/4a-hal-manager.c @@ -50,7 +50,7 @@ struct HalUtlApiVerb HalManagerApiStaticVerbs[] = /******************************************************************************* * Dynamic API functions for hal manager * - * TODO JAI : Use API-V3 instead of API-PRE-V3 * + * TBD JAI : Use API-V3 instead of API-PRE-V3 * ******************************************************************************/ static int HalMgrInitApi(AFB_ApiT apiHandle) @@ -114,7 +114,7 @@ int HalMgrCreateApi(AFB_ApiT apiHandle, struct HalMgrData *HalMgrGlobalData) /******************************************************************************* * Startup function * - * TODO JAI : Use API-V3 instead of API-PRE-V3 * + * TBD JAI : Use API-V3 instead of API-PRE-V3 * ******************************************************************************/ int afbBindingVdyn(AFB_ApiT apiHandle) |