summaryrefslogtreecommitdiffstats
path: root/high-can-binding/high-can-binding-hat.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'high-can-binding/high-can-binding-hat.hpp')
-rw-r--r--high-can-binding/high-can-binding-hat.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/high-can-binding/high-can-binding-hat.hpp b/high-can-binding/high-can-binding-hat.hpp
new file mode 100644
index 0000000..b91f083
--- /dev/null
+++ b/high-can-binding/high-can-binding-hat.hpp
@@ -0,0 +1,17 @@
+#pragma once
+#include <cstddef>
+#include <systemd/sd-event.h>
+extern "C"
+{
+ #define AFB_BINDING_VERSION 1
+ #include <afb/afb-binding.h>
+};
+
+extern "C" struct afb_binding_interface;
+extern "C" struct afb_service srvitf;
+extern const struct afb_binding_interface *binder_interface;
+ void subscribe(struct afb_req request);
+ void unsubscribe(struct afb_req request);
+ void get(struct afb_req request);
+ void initHigh(afb_service service);
+ int ticked(sd_event_source *source, unsigned long t, void *data);