diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-03 13:58:33 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-03 13:58:33 +0100 |
commit | 913e41d02977ee045490fbdcc94979c122c6a981 (patch) | |
tree | e11ef708dfd2a565c9f58a3daacc9fa7d98030f3 /include/afb/afb-daemon-v2.h | |
parent | 7ffecab08bf91e26ffedb393d9b8cb6151e2b836 (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-v2.h')
-rw-r--r-- | include/afb/afb-daemon-v2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/afb/afb-daemon-v2.h b/include/afb/afb-daemon-v2.h index 1ea40e96..6eb48c60 100644 --- a/include/afb/afb-daemon-v2.h +++ b/include/afb/afb-daemon-v2.h @@ -171,9 +171,10 @@ static inline int afb_daemon_rename_api_v2(const char *name) static inline int afb_daemon_new_api_v2( const char *api, const char *info, + int noconcurrency, int (*preinit)(void*, struct afb_dynapi *), void *closure) { - return afb_get_daemon_v2().itf->new_api(afb_get_daemon_v2().closure, api, info, preinit, closure); + return afb_get_daemon_v2().itf->new_api(afb_get_daemon_v2().closure, api, info, noconcurrency, preinit, closure); } |