Improve log output format
[src/app-framework-binder.git] / src / afb-ditf.h
index 6bc8498..5b8dbf5 100644 (file)
@@ -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);