diff options
author | Forlot Romain [IoT.bzh] <claneys@iot.bzh> | 2017-09-04 23:37:22 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-14 10:59:55 +0100 |
commit | 19bc13783a7451c81848ea132614a8df11c7740a (patch) | |
tree | b61995b1af0914559f6de6461bda3dd76f2e724c /signal-composer-binding/signal-composer-binding.hpp | |
parent | 29168eb150eae139685c40c0bec22a5b7485cb66 (diff) |
Initial commit
Change-Id: I2bb38bffdd92602659670901b8442201b7c56214
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.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/signal-composer-binding/signal-composer-binding.hpp b/signal-composer-binding/signal-composer-binding.hpp new file mode 100644 index 0000000..3b512f3 --- /dev/null +++ b/signal-composer-binding/signal-composer-binding.hpp @@ -0,0 +1,18 @@ +#pragma once + +#include <systemd/sd-event.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 init_service(); + int ticked(sd_event_source *source, uint64_t t, void *data); |