X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=ucs2-afb%2Fucs_binding.h;h=cd865944c01c2a71aec8cafa3d0d29075fa29d01;hb=refs%2Fchanges%2F22%2F24722%2F1;hp=3d18260c29be999c692fd45db05d8e62a72e4a07;hpb=8e11d17565ec6f38e8c5571c48a3e4a317758223;p=apps%2Fagl-service-unicens.git diff --git a/ucs2-afb/ucs_binding.h b/ucs2-afb/ucs_binding.h index 3d18260..cd86594 100644 --- a/ucs2-afb/ucs_binding.h +++ b/ucs2-afb/ucs_binding.h @@ -23,10 +23,11 @@ #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 #include "ucs_interface.h" #ifndef CONTROL_CDEV_TX @@ -41,9 +42,10 @@ extern const struct afb_binding_interface *afbIface; extern struct afb_service afbSrv; // API verbs prototype -PUBLIC void ucs2Init (struct afb_req request); -PUBLIC void ucs2SetVol (struct afb_req request); - +PUBLIC int ucs2_initbinding(afb_api_t api); +PUBLIC void ucs2_configure (afb_req_t request); +PUBLIC void ucs2_subscribe (afb_req_t request); +PUBLIC void ucs2_writei2c (afb_req_t request); #endif /* UCS2BINDING_H */