Add 'noconcurrency' when creating dynamic API
[src/app-framework-binder.git] / include / afb / afb-dynapi-itf.h
index dd291ae..fc90dbd 100644 (file)
@@ -43,6 +43,9 @@ struct afb_dynapi
 
        /* current verbosity level */
        int verbosity;
+
+       /* the name of the api */
+       const char *apiname;
 };
 
 /*
@@ -128,6 +131,7 @@ struct afb_dynapi_itf
                void *dynapi,
                const char *api,
                const char *info,
+               int noconcurrency,
                int (*preinit)(void*, struct afb_dynapi *),
                void *closure);
 
@@ -140,6 +144,7 @@ struct afb_dynapi_itf
                const char *verb,
                const char *info,
                void (*callback)(struct afb_request *request),
+               void *vcbdata,
                const struct afb_auth *auth,
                uint32_t session);