aboutsummaryrefslogtreecommitdiffstats
path: root/high-viwi-binding/high.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-02 11:37:39 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-09-02 12:18:23 +0200
commit6ddb6a0910ee11e061cebe87a82d5343d06b1f9d (patch)
tree55db2b60674b7371222c34b387cf6d55e4e0b2e3 /high-viwi-binding/high.hpp
parentca5f8050dd74d39bced479914bab7917f4f2df51 (diff)
Handle load config return value and request replyclaneys-dev
Now verb 'load' make a reply and return error code on failure Change-Id: I4fd1ae5117598624d910c1d12de55b92cb5bbdbb Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'high-viwi-binding/high.hpp')
-rw-r--r--high-viwi-binding/high.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/high-viwi-binding/high.hpp b/high-viwi-binding/high.hpp
index ecc36be..989dda5 100644
--- a/high-viwi-binding/high.hpp
+++ b/high-viwi-binding/high.hpp
@@ -47,7 +47,7 @@ public:
void tick(sd_event_source *source, const long &now, void *interv);
void startTimer(const int &t);
~High();
- void parseConfigAndSubscribe(const std::string& confd);
+ int parseConfigAndSubscribe(const std::string& confd);
static bool startsWith(const std::string &s, const std::string &val);
static void callBackFromSubscribe(void *handle, int iserror, json_object *result);
private: