summaryrefslogtreecommitdiffstats
path: root/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
diff options
context:
space:
mode:
Diffstat (limited to '4a-hal/4a-hal-manager/4a-hal-manager-cb.c')
-rw-r--r--4a-hal/4a-hal-manager/4a-hal-manager-cb.c12
1 files changed, 6 insertions, 6 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 1b08b82..ae86474 100644
--- a/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
+++ b/4a-hal/4a-hal-manager/4a-hal-manager-cb.c
@@ -66,13 +66,13 @@ void HalMgrLoaded(AFB_ReqT request)
json_object *requestJson, *requestAnswer, *apiObject;
- apiHandle = (AFB_ApiT ) afb_request_get_dynapi(request);
+ apiHandle = (AFB_ApiT ) AFB_ReqGetApi(request);
if(! apiHandle) {
AFB_ReqFail(request, "api_handle", "Can't get hal manager api handle");
return;
}
- HalMgrGlobalData = (struct HalMgrData *) afb_dynapi_get_userdata(apiHandle);
+ HalMgrGlobalData = (struct HalMgrData *) AFB_ApiGetUserData(apiHandle);
if(! HalMgrGlobalData) {
AFB_ReqFail(request, "hal_manager_data", "Can't get hal manager data");
return;
@@ -143,13 +143,13 @@ void HalMgrLoad(AFB_ReqT request)
json_object *requestJson, *apiReceviedMetadata;
- apiHandle = (AFB_ApiT) afb_request_get_dynapi(request);
+ apiHandle = (AFB_ApiT) AFB_ReqGetApi(request);
if(! apiHandle) {
AFB_ReqFail(request, "api_handle", "Can't get hal manager api handle");
return;
}
- HalMgrGlobalData = (struct HalMgrData *) afb_dynapi_get_userdata(apiHandle);
+ HalMgrGlobalData = (struct HalMgrData *) AFB_ApiGetUserData(apiHandle);
if(! HalMgrGlobalData) {
AFB_ReqFail(request, "hal_manager_data", "Can't get hal manager data");
return;
@@ -217,13 +217,13 @@ void HalMgrUnload(AFB_ReqT request)
json_object *requestJson;
- apiHandle = (AFB_ApiT) afb_request_get_dynapi(request);
+ apiHandle = (AFB_ApiT) AFB_ReqGetApi(request);
if(! apiHandle) {
AFB_ReqFail(request, "api_handle", "Can't get hal manager api handle");
return;
}
- HalMgrGlobalData = (struct HalMgrData *) afb_dynapi_get_userdata(apiHandle);
+ HalMgrGlobalData = (struct HalMgrData *) AFB_ApiGetUserData(apiHandle);
if(! HalMgrGlobalData) {
AFB_ReqFail(request, "hal_manager_data", "Can't get hal manager data");
return;