X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=ucs2-afb%2Fucs_binding.h;h=9874ff45d5ba105e1213435528e3685f2f38462f;hb=825ce525d20ac99cd590d40fc06237c1e363cd7e;hp=5b7473031a5ca01ebb3812133199630b82cb590a;hpb=d2e42029ec04c3f224580f8007cdfbbfe0fc47a6;p=apps%2Fagl-service-unicens.git diff --git a/ucs2-afb/ucs_binding.h b/ucs2-afb/ucs_binding.h index 5b74730..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 */