aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c2
-rw-r--r--4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c6
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.c14
3 files changed, 11 insertions, 11 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c
index 47cfcc7..a26fe0a 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.c
@@ -465,5 +465,5 @@ void HalCtlsActionOnAlsaCtl(AFB_ReqT request)
json_object_put(convertedJ);
- AFB_ReqSucess(request, NULL, "Action on alsa control correclty done");
+ AFB_ReqSuccess(request, NULL, "Action on alsa control correclty done");
} \ No newline at end of file
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
index 98d2b0c..8360694 100644
--- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
+++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c
@@ -447,7 +447,7 @@ void HalCtlsActionOnStream(AFB_ReqT request)
HalUtlHandleAppFwCallErrorInRequest(request, apiToCall, verbToCall, returnJ, "stream_action");
}
else if(json_object_object_get_ex(returnJ, "response", &toReturnJ)){
- AFB_ReqSucessF(request,
+ AFB_ReqSuccessF(request,
toReturnJ,
"Action %s correctly transferred to %s without any error raised",
verbToCall,
@@ -490,7 +490,7 @@ void HalCtlsListVerbs(AFB_ReqT request)
}
if(! currentCtlHalData->ctlHalSpecificData->ctlHalStreamsData.count) {
- AFB_ReqSucess(request, NULL, "No data to answer, no streams found");
+ AFB_ReqSuccess(request, NULL, "No data to answer, no streams found");
return;
}
@@ -518,5 +518,5 @@ void HalCtlsListVerbs(AFB_ReqT request)
wrap_json_pack(&requestAnswer, "{s:o}", "streams", streamsArray);
- AFB_ReqSucess(request, requestAnswer, "Requested data");
+ AFB_ReqSuccess(request, requestAnswer, "Requested data");
} \ No newline at end of file
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 6d3c4c7..69b925f 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
@@ -54,7 +54,7 @@ void HalMgrPing(AFB_ReqT request)
else
AFB_ReqNotice(request, "%s: ping count = %d", request->api, count);
- AFB_ReqSucess(request, json_object_new_int(count), NULL);
+ AFB_ReqSuccess(request, json_object_new_int(count), NULL);
return;
}
@@ -94,7 +94,7 @@ void HalMgrLoaded(AFB_ReqT request)
numberOfLoadedApi = HalUtlGetNumberOfHalInList(HalMgrGlobalData);
if(! numberOfLoadedApi) {
- AFB_ReqSucess(request, NULL, "No Hal Api loaded");
+ AFB_ReqSuccess(request, NULL, "No Hal Api loaded");
return;
}
@@ -136,7 +136,7 @@ void HalMgrLoaded(AFB_ReqT request)
}
}
- AFB_ReqSucess(request, requestAnswer, "Requested data");
+ AFB_ReqSuccess(request, requestAnswer, "Requested data");
}
void HalMgrLoad(AFB_ReqT request)
@@ -209,7 +209,7 @@ void HalMgrLoad(AFB_ReqT request)
// TBD JAI: add subscription to this api status events
- AFB_ReqSucess(request, NULL, "Api successfully registered");
+ AFB_ReqSuccess(request, NULL, "Api successfully registered");
}
void HalMgrUnload(AFB_ReqT request)
@@ -263,7 +263,7 @@ void HalMgrUnload(AFB_ReqT request)
// TBD JAI: remove subscription to this api status events
- AFB_ReqSucess(request, NULL, "Api successfully unregistered");
+ AFB_ReqSuccess(request, NULL, "Api successfully unregistered");
}
// TBD JAI : to implement
@@ -271,7 +271,7 @@ void HalMgrSubscribeEvent(AFB_ReqT request)
{
AFB_ReqWarning(request, "%s not implemented yet", __func__);
- AFB_ReqSucess(request, json_object_new_boolean(false), NULL);
+ AFB_ReqSuccess(request, json_object_new_boolean(false), NULL);
}
// TBD JAI : to implement
@@ -279,5 +279,5 @@ void HalMgrUnsubscribeEvent(AFB_ReqT request)
{
AFB_ReqWarning(request, "%s not implemented yet", __func__);
- AFB_ReqSucess(request, json_object_new_boolean(false), NULL);
+ AFB_ReqSuccess(request, json_object_new_boolean(false), NULL);
} \ No newline at end of file