X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-dyn.h;h=21626eed8e0273afe3a474b2ceab18a9db12ac3c;hb=afff776f7e27c8be7610cfbd23c4d1be32699ed9;hp=ea184df14a256ac974801e2d73b5df707e73ff39;hpb=59cd34b59853f6a47e756d7ab5bc0329f40a471c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-dyn.h b/src/afb-api-dyn.h index ea184df1..21626eed 100644 --- a/src/afb-api-dyn.h +++ b/src/afb-api-dyn.h @@ -27,6 +27,7 @@ struct afb_verb_v2; struct afb_api_dyn_verb { void (*callback)(struct afb_request *request); + void *vcbdata; const struct afb_auth *auth; const char *info; int session; @@ -35,7 +36,13 @@ struct afb_api_dyn_verb struct afb_api_dyn; -extern int afb_api_dyn_add(struct afb_apiset *apiset, const char *name, const char *info, int (*preinit)(void*, struct afb_dynapi*), void *closure); +extern int afb_api_dyn_add( + struct afb_apiset *apiset, + const char *name, + const char *info, + int noconcurrency, + int (*preinit)(void*, struct afb_dynapi*), + void *closure); extern void afb_api_dyn_set_verbs_v2( struct afb_api_dyn *dynapi, @@ -46,6 +53,7 @@ extern int afb_api_dyn_add_verb( const char *verb, const char *info, void (*callback)(struct afb_request *request), + void *vcbdata, const struct afb_auth *auth, uint32_t session);