From 984d8e2e70b686ad5f4450805d2f1d6f7c306094 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 7 Jul 2017 17:43:08 +0200 Subject: Fix change in binder add new info field in structs Change-Id: I25a11d52588490f0f7e680643c68a8026e0888d2 Signed-off-by: Romain Forlot --- high-can-binding/high-can-binding-hat.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'high-can-binding') diff --git a/high-can-binding/high-can-binding-hat.cpp b/high-can-binding/high-can-binding-hat.cpp index 71dd3b7..4a5e348 100644 --- a/high-can-binding/high-can-binding-hat.cpp +++ b/high-can-binding/high-can-binding-hat.cpp @@ -6,15 +6,16 @@ static int init_service(); static const struct afb_verb_v2 verbs[]= { - { .verb= "subscribe", .callback= subscribe, .auth = NULL, .session = 0 }, - { .verb= "unsubscribe", .callback= unsubscribe, .auth = NULL, .session = 0 }, - { .verb= "get", .callback= get, .auth = NULL, .session = 0 }, - { .verb= NULL, .callback=NULL, .auth = NULL, .session = 0 } + { .verb= "subscribe", .callback= subscribe, .auth = NULL, .info = "subscribe to an ViWi object", .session = 0 }, + { .verb= "unsubscribe", .callback= unsubscribe, .auth = NULL, .info = "unsubscribe to a ViWi object", .session = 0 }, + { .verb= "get", .callback= get, .auth = NULL, .info = "Get informations about a resource or element", .session = 0 }, + { .verb= NULL, .callback=NULL, .auth = NULL, .info = NULL, .session = 0 } }; const struct afb_binding_v2 afbBindingV2 = { .api = "high-can", .specification = "", + .info = "High CAN ViWi API connected to low-can AGL service", .verbs = verbs, .preinit = NULL, .init = init_service, -- cgit