X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2Fbinding%2Flow-can-hat.hpp;h=e21b9cd065e2a99d568370c513f45aa357c341d5;hb=ff089ab8b009c81bcf92abf181faa00348eb62cd;hp=1f550a82631a5ed1c6bc74efe01f5e5d5cee7a29;hpb=05d31a77fb2742d4aedd26a13454b21b5df83b20;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 1f550a82..e21b9cd0 100644 --- a/low-can-binding/binding/low-can-hat.hpp +++ b/low-can-binding/binding/low-can-hat.hpp @@ -24,21 +24,10 @@ #include #include -extern "C" -{ - #define AFB_BINDING_VERSION 2 - #include -}; +#include class low_can_subscription_t; 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);