diff options
author | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2019-10-15 17:45:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@automotivelinux.org> | 2019-10-15 17:45:29 +0000 |
commit | 266c9b1cefb3e33c825e6a994b8bb481654d86d1 (patch) | |
tree | afead1d5151d6ba5031740ac24ae129632744ecb /src/plugins/VshlCapabilitiesApi.cpp | |
parent | c1de719af7bdae425f2e42dd3e0642550a8cd6b6 (diff) | |
parent | 62f552fe640df18320dd3afb1f141e8a1aedf2f4 (diff) |
Merge "Switch to appcontroller library" into halibuthalibut_8.0.3halibut/8.0.38.0.3
Diffstat (limited to 'src/plugins/VshlCapabilitiesApi.cpp')
-rw-r--r-- | src/plugins/VshlCapabilitiesApi.cpp | 16 |
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; } |