aboutsummaryrefslogtreecommitdiffstats
path: root/binding/afm-geoclue-binding.c
diff options
context:
space:
mode:
authorZhang Nan <zhangnan.fnst@cn.fujitsu.com>2020-07-15 17:55:35 +0800
committerZhang Nan <zhangnan.fnst@cn.fujitsu.com>2020-07-15 17:57:34 +0800
commita097eba730c5d30fb4e8ae62b02ac6d4e4b50556 (patch)
tree01d2839e5b58296df1ade0c2a0f20fd4d4e30247 /binding/afm-geoclue-binding.c
parent03193c0a80b05e6f5a263dafa064089885ad8d0a (diff)
Refer: https://docs.automotivelinux.org/docs/en/master/apis_services/reference/af-binder/reference-v3/types-and-globals.html Bug-AGL: SPEC-3499 Signed-off-by: Qiu Tingting <qiutt@cn.fujitsu.com> Signed-off-by: Zhang Nan <zhangnan.fnst@cn.fujitsu.com> Change-Id: I2dd6c3a164d498cd8fb7fba2b1cda3fb221ec584
Diffstat (limited to 'binding/afm-geoclue-binding.c')
-rw-r--r--binding/afm-geoclue-binding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binding/afm-geoclue-binding.c b/binding/afm-geoclue-binding.c
index 884c252..07b19e1 100644
--- a/binding/afm-geoclue-binding.c
+++ b/binding/afm-geoclue-binding.c
@@ -182,7 +182,7 @@ static void unsubscribe(afb_req_t request)
afb_req_fail(request, "failed", "Invalid event");
}
-static const struct afb_verb_v3 binding_verbs[] = {
+static const afb_verb_t binding_verbs[] = {
{ .verb = "location", .callback = get_data, .info = "Get GeoClue coordinates" },
{ .verb = "subscribe", .callback = subscribe, .info = "Subscribe to GeoClue events" },
{ .verb = "unsubscribe", .callback = unsubscribe, .info = "Unsubscribe to GeoClue events" },
@@ -192,7 +192,7 @@ static const struct afb_verb_v3 binding_verbs[] = {
/*
* binder API description
*/
-const struct afb_binding_v3 afbBindingV3 = {
+const afb_binding_t afbBindingV3 = {
.api = "geoclue",
.specification = "GeoClue service API",
.verbs = binding_verbs,