aboutsummaryrefslogtreecommitdiffstats
path: root/signal-composer-binding/signal-composer-binding.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'signal-composer-binding/signal-composer-binding.hpp')
-rw-r--r--signal-composer-binding/signal-composer-binding.hpp18
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);