X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=ucs2-afb%2Fucs_binding.h;h=9874ff45d5ba105e1213435528e3685f2f38462f;hb=refs%2Fchanges%2F07%2F12007%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..9874ff4 100644 --- a/ucs2-afb/ucs_binding.h +++ b/ucs2-afb/ucs_binding.h @@ -18,6 +18,9 @@ #ifndef UCS2BINDING_H #define UCS2BINDING_H +// Use Version of AGL Application Framework API +#define AFB_BINDING_VERSION 2 + #ifndef PUBLIC #define PUBLIC #endif @@ -25,7 +28,6 @@ #include #include -#include #include "ucs_interface.h" @@ -41,9 +43,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(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); #endif /* UCS2BINDING_H */