X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2Fbinding%2Flow-can-hat.hpp;h=5722666c8caa40157ba44ede9cc359e9cd06bd38;hb=6faef2305955b025c3cf1cfaf17a6aa073727c24;hp=d9fb89f2bbfdad2445e3460a853ab7f80e2988f3;hpb=d8d990528ea9746b21788f97be3fdbcc392c5d96;p=apps%2Fagl-service-can-low-level.git diff --git a/low-can-binding/binding/low-can-hat.hpp b/low-can-binding/binding/low-can-hat.hpp index d9fb89f2..5722666c 100644 --- a/low-can-binding/binding/low-can-hat.hpp +++ b/low-can-binding/binding/low-can-hat.hpp @@ -24,11 +24,8 @@ #include #include -extern "C" -{ - #define AFB_BINDING_VERSION 2 - #include -}; +#define AFB_BINDING_VERSION 2 +#include class low_can_subscription_t; @@ -36,11 +33,3 @@ 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); -*/