aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2016-11-30 16:38:32 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2016-11-30 16:52:53 +0000
commit530020b8e51c9a212d7630e90db77f7c08756644 (patch)
treecf33912f63859fcb1763e47bd43087f2d260f3ed
parentd02816710e933c2b6e69517c7085ddf834182653 (diff)
rename get_all method to get
Change-Id: Ieed6b59d557297fe80a37a456d8602fc2b4c5f35 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--hvac-hybrid-qml-binding.c4
1 files 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}
};