summaryrefslogtreecommitdiffstats
path: root/src/plugins/VshlCapabilitiesApi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/VshlCapabilitiesApi.cpp')
-rw-r--r--src/plugins/VshlCapabilitiesApi.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/VshlCapabilitiesApi.cpp b/src/plugins/VshlCapabilitiesApi.cpp
index 066edd5..78c686f 100644
--- a/src/plugins/VshlCapabilitiesApi.cpp
+++ b/src/plugins/VshlCapabilitiesApi.cpp
@@ -117,7 +117,7 @@ CTLP_CAPI(guiMetadataSubscribe, source, argsJ, eventJ) {
}
}
- AFB_ReqSuccess(
+ afb_req_success(
source->request, json_object_new_string("Subscription to guimetadata events successfully completed."), NULL);
return 0;
}
@@ -165,7 +165,7 @@ CTLP_CAPI(guiMetadataPublish, source, argsJ, eventJ) {
return -1;
}
- AFB_ReqSuccess(source->request, json_object_new_string("Successfully published guimetadata messages."), NULL);
+ afb_req_success(source->request, json_object_new_string("Successfully published guimetadata messages."), NULL);
return 0;
}
@@ -201,7 +201,7 @@ CTLP_CAPI(phonecontrolSubscribe, source, argsJ, eventJ) {
}
}
- AFB_ReqSuccess(
+ afb_req_success(
source->request, json_object_new_string("Subscription to phone control events successfully completed."), NULL);
return 0;
}
@@ -245,7 +245,7 @@ CTLP_CAPI(phonecontrolPublish, source, argsJ, eventJ) {
return -1;
}
- AFB_ReqSuccess(source->request, json_object_new_string("Successfully published phone control messages."), NULL);
+ afb_req_success(source->request, json_object_new_string("Successfully published phone control messages."), NULL);
return 0;
}
@@ -281,7 +281,7 @@ CTLP_CAPI(navigationSubscribe, source, argsJ, eventJ) {
}
}
- AFB_ReqSuccess(
+ afb_req_success(
source->request, json_object_new_string("Subscription to navigation events successfully completed."), NULL);
return 0;
}
@@ -325,7 +325,7 @@ CTLP_CAPI(navigationPublish, source, argsJ, eventJ) {
return -1;
}
- AFB_ReqSuccess(source->request, json_object_new_string("Successfully published navigation messages."), NULL);
+ afb_req_success(source->request, json_object_new_string("Successfully published navigation messages."), NULL);
return 0;
}
@@ -361,7 +361,7 @@ CTLP_CAPI(playbackControllerSubscribe, source, argsJ, eventJ) {
}
}
- AFB_ReqSuccess(
+ afb_req_success(
source->request, json_object_new_string("Subscription to playbackcontroller events successfully completed."), NULL);
return 0;
}
@@ -405,6 +405,6 @@ CTLP_CAPI(playbackControllerPublish, source, argsJ, eventJ) {
return -1;
}
- AFB_ReqSuccess(source->request, json_object_new_string("Successfully published playbackcontroller messages."), NULL);
+ afb_req_success(source->request, json_object_new_string("Successfully published playbackcontroller messages."), NULL);
return 0;
}