struct afb_api_dyn_verb
{
void (*callback)(struct afb_request *request);
+ void *vcbdata;
const struct afb_auth *auth;
const char *info;
int session;
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,
const char *verb,
const char *info,
void (*callback)(struct afb_request *request),
+ void *vcbdata,
const struct afb_auth *auth,
uint32_t session);