X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-v3.h;h=2ba17bd1a9677933ff30fa845f33d087a7e6e678;hb=refs%2Fheads%2Fsandbox%2FDDTLK%2Fpakage;hp=33649f3522aba40cb62511118eaacefe024ba020;hpb=4521c1e7ae5371ab9d639adc617d17fb4e8ded0c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-v3.h b/src/afb-api-v3.h index 33649f35..2ba17bd1 100644 --- a/src/afb-api-v3.h +++ b/src/afb-api-v3.h @@ -30,22 +30,26 @@ struct afb_xreq; struct json_object; struct afb_export; -extern struct afb_api_v3 *afb_api_v3_create( - struct afb_apiset *declare_set, +extern struct afb_api_v3 *afb_api_v3_create(struct afb_apiset *declare_set, struct afb_apiset *call_set, const char *apiname, const char *info, int noconcurrency, int (*preinit)(void*, struct afb_api_x3 *), void *closure, - int copy_info -); + int copy_info, + struct afb_export* creator, + const char* path); extern struct afb_api_v3 *afb_api_v3_from_binding( const struct afb_binding_v3 *desc, struct afb_apiset *declare_set, struct afb_apiset * call_set); +extern int afb_api_v3_safe_preinit( + struct afb_api_x3 *api, + int (*preinit)(struct afb_api_x3 *)); + extern int afb_api_v3_set_binding_fields(const struct afb_binding_v3 *desc, struct afb_api_x3 *api); extern struct afb_api_v3 *afb_api_v3_addref(struct afb_api_v3 *api);