X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-ditf.h;h=5b8dbf5a2de829201f571971a533055a457863ea;hb=197626868aaf84e9a68e8e7e5397ef1c6883a0f1;hp=6bc849865fa243219f7b2c235bc6c3985ddb0f36;hpb=95c29ef579d6320a721f96d7146efd10f74a201b;p=src%2Fapp-framework-binder.git diff --git a/src/afb-ditf.h b/src/afb-ditf.h index 6bc84986..5b8dbf5a 100644 --- a/src/afb-ditf.h +++ b/src/afb-ditf.h @@ -23,15 +23,15 @@ struct afb_binding_data_v2; struct afb_ditf { int version; - const char *prefix; + const char *api; union { struct afb_binding_interface_v1 *v1; struct afb_binding_data_v2 *v2; }; }; -extern void afb_ditf_init_v1(struct afb_ditf *ditf, const char *prefix, struct afb_binding_interface_v1 *itf); -extern void afb_ditf_init_v2(struct afb_ditf *ditf, const char *prefix, struct afb_binding_data_v2 *data); -extern void afb_ditf_rename(struct afb_ditf *ditf, const char *prefix); +extern void afb_ditf_init_v1(struct afb_ditf *ditf, const char *api, struct afb_binding_interface_v1 *itf); +extern void afb_ditf_init_v2(struct afb_ditf *ditf, const char *api, struct afb_binding_data_v2 *data); +extern void afb_ditf_rename(struct afb_ditf *ditf, const char *api); extern void afb_ditf_update_hook(struct afb_ditf *ditf);