summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-dynapi.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-11-03 13:58:33 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-11-03 13:58:33 +0100
commit913e41d02977ee045490fbdcc94979c122c6a981 (patch)
treee11ef708dfd2a565c9f58a3daacc9fa7d98030f3 /include/afb/afb-dynapi.h
parent7ffecab08bf91e26ffedb393d9b8cb6151e2b836 (diff)
Add 'noconcurrency' when creating dynamic APIeel_4.99.2eel/4.99.24.99.2
Change-Id: Ia108b23b9480bb32f27127ef00c18086fcf86752 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb/afb-dynapi.h')
-rw-r--r--include/afb/afb-dynapi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/afb/afb-dynapi.h b/include/afb/afb-dynapi.h
index dfdcdb24..e2458952 100644
--- a/include/afb/afb-dynapi.h
+++ b/include/afb/afb-dynapi.h
@@ -242,10 +242,11 @@ static inline int afb_dynapi_new_api(
struct afb_dynapi *dynapi,
const char *api,
const char *info,
+ int noconcurrency,
int (*preinit)(void*, struct afb_dynapi *),
void *closure)
{
- return dynapi->itf->api_new_api(dynapi, api, info, preinit, closure);
+ return dynapi->itf->api_new_api(dynapi, api, info, noconcurrency, preinit, closure);
}
static inline int afb_dynapi_set_verbs_v2(