aboutsummaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal-composer-binding.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-09-12 00:29:28 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-12-14 11:00:25 +0100
commitd663f702c0e4fa562783504a483dce8f362d628e (patch)
treefdb656d0467a935aa6790dd9e05d3e373606a3e1 /signal-composer-binding/signal-composer-binding.hpp
parent75cfbf3d0206f12422091e6479c508c69445bf4a (diff)
Progression on config parsing.
Change-Id: Idd8d8987ccabef381f6d79c1d508930a2d4bae3c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'signal-composer-binding/signal-composer-binding.hpp')
-rw-r--r--signal-composer-binding/signal-composer-binding.hpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/signal-composer-binding/signal-composer-binding.hpp b/signal-composer-binding/signal-composer-binding.hpp
index 7bf1df1..e73438b 100644
--- a/signal-composer-binding/signal-composer-binding.hpp
+++ b/signal-composer-binding/signal-composer-binding.hpp
@@ -1,19 +1,14 @@
#pragma once
#include <systemd/sd-event.h>
+#include <ctl-config.h>
-#ifdef __cplusplus
- #include <cstddef>
extern "C"
{
-#endif
#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>
-#ifdef __cplusplus
-};
-#endif
+}
void onEvent(const char *event, struct json_object *object);
int loadConf();
int execConf();
-int ticked(sd_event_source *source, uint64_t t, void *data);