summaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/binding/low-can-hat.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder/low-can-binding/binding/low-can-hat.hpp')
-rw-r--r--CAN-binder/low-can-binding/binding/low-can-hat.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/CAN-binder/low-can-binding/binding/low-can-hat.hpp b/CAN-binder/low-can-binding/binding/low-can-hat.hpp
index b3384d7..c0756f8 100644
--- a/CAN-binder/low-can-binding/binding/low-can-hat.hpp
+++ b/CAN-binder/low-can-binding/binding/low-can-hat.hpp
@@ -31,6 +31,12 @@ extern "C" struct afb_binding_interface;
extern const struct afb_binding_interface *binder_interface;
+struct event_filter_t {
+ double frequency;
+ double min;
+ double max;
+};
+
void on_no_clients(std::string message);
int read_message(sd_event_source *s, int fd, uint32_t revents, void *userdata);