summaryrefslogtreecommitdiffstats
path: root/plugins/lib/bluetooth/hal-bt-cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lib/bluetooth/hal-bt-cb.c')
-rw-r--r--plugins/lib/bluetooth/hal-bt-cb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/lib/bluetooth/hal-bt-cb.c b/plugins/lib/bluetooth/hal-bt-cb.c
index 6ac9193..0638d50 100644
--- a/plugins/lib/bluetooth/hal-bt-cb.c
+++ b/plugins/lib/bluetooth/hal-bt-cb.c
@@ -36,7 +36,7 @@ void HalBtGetStreamingStatus(AFB_ReqT request)
{
struct HalBtPluginData *localHalBtPluginData;
- if(! (localHalBtPluginData = (struct HalBtPluginData *) afb_request_get_vcbdata(request))) {
+ if(! (localHalBtPluginData = (struct HalBtPluginData *) AFB_ReqVCBData(request))) {
AFB_ReqFail(request, "bt_plugin_data", "Can't get bluetooth plugin data");
return;
}
@@ -54,7 +54,7 @@ void HalBtSetStreamingStatus(AFB_ReqT request)
AFB_ApiT apiHandle;
- if(! (localHalBtPluginData = (struct HalBtPluginData *) afb_request_get_vcbdata(request))) {
+ if(! (localHalBtPluginData = (struct HalBtPluginData *) AFB_ReqVCBData(request))) {
AFB_ReqFail(request, "bt_plugin_data", "Can't get bluetooth plugin data");
return;
}
@@ -64,7 +64,7 @@ void HalBtSetStreamingStatus(AFB_ReqT request)
return;
}
- if(! (apiHandle = (AFB_ApiT ) afb_request_get_dynapi(request))) {
+ if(! (apiHandle = (AFB_ApiT ) AFB_ReqGetApi(request))) {
AFB_ReqFail(request, "api_handle", "Can't get current hal controller api handle");
return;
}
@@ -99,7 +99,7 @@ void HalBtGetA2DPBluetoothDevices(AFB_ReqT request)
json_object *requestAnswer, *currentBtDeviceObjectJ;
- if(! (localHalBtPluginData = (struct HalBtPluginData *) afb_request_get_vcbdata(request))) {
+ if(! (localHalBtPluginData = (struct HalBtPluginData *) AFB_ReqVCBData(request))) {
AFB_ReqFail(request, "bt_plugin_data", "Can't get bluetooth plugin data");
return;
}
@@ -135,7 +135,7 @@ void HalBtGetSelectedA2DPBluetoothDevice(AFB_ReqT request)
json_object *selectedBtDeviceObject;
- if(! (localHalBtPluginData = (struct HalBtPluginData *) afb_request_get_vcbdata(request))) {
+ if(! (localHalBtPluginData = (struct HalBtPluginData *) AFB_ReqVCBData(request))) {
AFB_ReqFail(request, "bt_plugin_data", "Can't get bluetooth plugin data");
return;
}
@@ -165,7 +165,7 @@ void HalBtSetSelectedA2DPBluetoothDevice(AFB_ReqT request)
AFB_ApiT apiHandle;
- if(! (localHalBtPluginData = (struct HalBtPluginData *) afb_request_get_vcbdata(request))) {
+ if(! (localHalBtPluginData = (struct HalBtPluginData *) AFB_ReqVCBData(request))) {
AFB_ReqFail(request, "bt_plugin_data", "Can't get bluetooth plugin data");
return;
}
@@ -175,7 +175,7 @@ void HalBtSetSelectedA2DPBluetoothDevice(AFB_ReqT request)
return;
}
- if(! (apiHandle = (AFB_ApiT ) afb_request_get_dynapi(request))) {
+ if(! (apiHandle = (AFB_ApiT ) AFB_ReqGetApi(request))) {
AFB_ReqFail(request, "api_handle", "Can't get current hal controller api handle");
return;
}