X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-export.h;h=9bd08204454774ccde0dc793df614e6dcb59fe90;hb=ae5d707f9348b50d44724ec2b091f4528ff0a72b;hp=853fc5d42cebf93c1492f837caf6904ebebb4b40;hpb=89190b853409c3d0465232da6dd11e4c0a0b73d7;p=src%2Fapp-framework-binder.git diff --git a/src/afb-export.h b/src/afb-export.h index 853fc5d4..9bd08204 100644 --- a/src/afb-export.h +++ b/src/afb-export.h @@ -24,8 +24,9 @@ struct afb_service; struct afb_binding_data_v2; struct afb_binding_interface_v1; -extern struct afb_export *afb_export_create_v1(const char *apiname, int (*init)(struct afb_service), void (*onevent)(const char*, struct json_object*)); -extern struct afb_export *afb_export_create_v2(const char *apiname, struct afb_binding_data_v2 *data, int (*init)(), void (*onevent)(const char*, struct json_object*)); +extern struct afb_export *afb_export_create_v1(struct afb_apiset *apiset, const char *apiname, int (*init)(struct afb_service), void (*onevent)(const char*, struct json_object*)); +extern struct afb_export *afb_export_create_v2(struct afb_apiset *apiset, const char *apiname, struct afb_binding_data_v2 *data, int (*init)(), void (*onevent)(const char*, struct json_object*)); + extern void afb_export_destroy(struct afb_export *export); extern const char *afb_export_apiname(const struct afb_export *export);