summaryrefslogtreecommitdiffstats
path: root/include/afb/afb-daemon-v1.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-daemon-v1.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-daemon-v1.h')
-rw-r--r--include/afb/afb-daemon-v1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/afb/afb-daemon-v1.h b/include/afb/afb-daemon-v1.h
index d1a0cc2a..d199a486 100644
--- a/include/afb/afb-daemon-v1.h
+++ b/include/afb/afb-daemon-v1.h
@@ -195,8 +195,9 @@ static inline int afb_daemon_new_api_v1(
struct afb_daemon daemon,
const char *api,
const char *info,
+ int noconcurrency,
int (*preinit)(void*, struct afb_dynapi *),
void *closure)
{
- return daemon.itf->new_api(daemon.closure, api, info, preinit, closure);
+ return daemon.itf->new_api(daemon.closure, api, info, noconcurrency, preinit, closure);
}