From 530020b8e51c9a212d7630e90db77f7c08756644 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 30 Nov 2016 16:38:32 +0000 Subject: rename get_all method to get Change-Id: Ieed6b59d557297fe80a37a456d8602fc2b4c5f35 Signed-off-by: Romain Forlot --- hvac-hybrid-qml-binding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hvac-hybrid-qml-binding.c b/hvac-hybrid-qml-binding.c index 42208ed..4b5434c 100644 --- a/hvac-hybrid-qml-binding.c +++ b/hvac-hybrid-qml-binding.c @@ -259,7 +259,7 @@ static void get_temp_left_zone(struct afb_req request) * @param struct afb_req : an afb request structure * */ -static void get_all(struct afb_req request) +static void get(struct afb_req request) { json_object *ret_json; @@ -332,7 +332,7 @@ static const struct afb_verb_desc_v1 verbs[]= { {"get_temp_left_zone" , AFB_SESSION_NONE, get_temp_left_zone , "Get the left zone temperature"}, {"get_temp_right_zone" , AFB_SESSION_NONE, get_temp_right_zone , "Get the right zone temperature"}, {"get_fanspeed" , AFB_SESSION_NONE, get_fanspeed , "Read fan speed"}, - {"get_all" , AFB_SESSION_NONE, get_all , "Read all values"}, + {"get" , AFB_SESSION_NONE, get , "Read all values"}, {"set" , AFB_SESSION_NONE, set , "Set a HVAC component value"}, {NULL} }; -- cgit 1.2.3-korg