X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-daemon-v2.h;h=4b8399c4488e978fb5093a8c87db2107fb5c51c6;hb=c8558c8a28966110aa3a356f95d3c60afe32b64a;hp=1ea40e9699b1150d563837ada376c28e85fe6703;hpb=7f4444176bd6efaa5e189a148351bab5a72c2853;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-daemon-v2.h b/include/afb/afb-daemon-v2.h index 1ea40e96..4b8399c4 100644 --- a/include/afb/afb-daemon-v2.h +++ b/include/afb/afb-daemon-v2.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 "IoT.bzh" + * Copyright (C) 2016, 2017, 2018 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -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); }