X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=ucs2-afb%2Fucs_binding.h;h=e7b1a3cc8f5c29c4e983dc9aec6bde7ce2c53514;hb=b79d0efc90f30918d64024bc0807c023e44c5325;hp=24c0b4eba73943a93f56e6fb497076c061946f6e;hpb=01475efcf23f47c13f44b057e42decb916117d67;p=apps%2Fagl-service-unicens.git diff --git a/ucs2-afb/ucs_binding.h b/ucs2-afb/ucs_binding.h index 24c0b4e..e7b1a3c 100644 --- a/ucs2-afb/ucs_binding.h +++ b/ucs2-afb/ucs_binding.h @@ -18,17 +18,16 @@ #ifndef UCS2BINDING_H #define UCS2BINDING_H -// Use Version of AGL Application Framework API -#define AFB_BINDING_VERSION 2 - #ifndef PUBLIC #define PUBLIC #endif #define STATIC static -#include +/* binding is using the application framework API V2 + * the compile option "AFB_BINDING_VERSION=2" is located + * in conf.d/project/config.cmake */ #include - +#include #include "ucs_interface.h" #ifndef CONTROL_CDEV_TX @@ -43,10 +42,10 @@ extern const struct afb_binding_interface *afbIface; extern struct afb_service afbSrv; // API verbs prototype +PUBLIC int ucs2_initbinding(void); PUBLIC void ucs2_configure (struct afb_req request); PUBLIC void ucs2_subscribe (struct afb_req request); PUBLIC void ucs2_writei2c (struct afb_req request); -PUBLIC void ucs2_volume (struct afb_req request); #endif /* UCS2BINDING_H */