diff options
author | 2017-06-05 19:16:27 +0200 | |
---|---|---|
committer | 2017-06-05 19:16:27 +0200 | |
commit | 13b637356a92d68e5dfed6990443e6937f1ed9c6 (patch) | |
tree | 7510c9fd267a8957b581eea810916c05e1a7a287 /high-can-binding/high-can-binding-hat.hpp |
Initial Commit
Change-Id: I4a832208f3db9f5fece82f44cc957c6c1bb91d6c
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'high-can-binding/high-can-binding-hat.hpp')
-rw-r--r-- | high-can-binding/high-can-binding-hat.hpp | 17 |
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); |