X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=low-can-binding%2Fbinding%2Flow-can-hat.hpp;h=248b62ceac71ae11e4cd145acb6191479587b7ab;hb=01715613f16113017529c51703f3e5d90918c4c5;hp=b0f29b5eb3ac20eec9d68dea82cb3134e9c229ca;hpb=0dc8b87f5d8a03183c1b947640f6315545e4207b;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 b0f29b5e..248b62ce 100644 --- a/low-can-binding/binding/low-can-hat.hpp +++ b/low-can-binding/binding/low-can-hat.hpp @@ -15,7 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - + #pragma once #include @@ -24,19 +24,11 @@ #include #include -extern "C" -{ - #define AFB_BINDING_VERSION 2 - #include -}; +#include 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 swrite(struct afb_req request);