diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-09-28 11:09:17 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-09-28 11:12:40 +0200 |
commit | 91a8304cf1c9d7139840f95c1ad971c9603ed5bf (patch) | |
tree | 08267435b188721419ee8bea65943cc4d80305a0 /low-can-binding/binding/low-can-hat.hpp | |
parent | a8eaf1f71c2906140b600314dfe935fab3a06bf2 (diff) |
Use afb_genskel tools to generate api definition
Generated files hand fixed because of usage of C++
which has to use c++ binding function afb::auth to
add afb_auth struct
Change-Id: I80ee9cb751cc813754c949d8746aec197da6d52f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/binding/low-can-hat.hpp')
-rw-r--r-- | low-can-binding/binding/low-can-hat.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/low-can-binding/binding/low-can-hat.hpp b/low-can-binding/binding/low-can-hat.hpp index 1f550a8..d9fb89f 100644 --- a/low-can-binding/binding/low-can-hat.hpp +++ b/low-can-binding/binding/low-can-hat.hpp @@ -32,13 +32,15 @@ extern "C" class low_can_subscription_t; +int initv2(); void on_no_clients(std::shared_ptr<low_can_subscription_t> can_subscription, std::map<int, std::shared_ptr<low_can_subscription_t> >& s); void on_no_clients(std::shared_ptr<low_can_subscription_t> can_subscription, uint32_t pid, std::map<int, std::shared_ptr<low_can_subscription_t> >& s); int read_message(sd_event_source *s, int fd, uint32_t revents, void *userdata); - +/* void auth(struct afb_req request); void subscribe(struct afb_req request); void unsubscribe(struct afb_req request); void write(struct afb_req request); void get(struct afb_req request); void list(struct afb_req request); +*/ |