From 91a8304cf1c9d7139840f95c1ad971c9603ed5bf Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 28 Sep 2017 11:09:17 +0200 Subject: 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 --- low-can-binding/binding/low-can-hat.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'low-can-binding/binding/low-can-hat.hpp') diff --git a/low-can-binding/binding/low-can-hat.hpp b/low-can-binding/binding/low-can-hat.hpp index 1f550a82..d9fb89f2 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 can_subscription, std::map >& s); void on_no_clients(std::shared_ptr can_subscription, uint32_t pid, std::map >& 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); +*/ -- cgit 1.2.3-korg