X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=include%2Fafb%2Fafb-daemon-v1.h;h=5a78b15d68023303ac26f12c6a97d37841de7aa2;hb=refs%2Fchanges%2F45%2F14345%2F1;hp=9ac4f9164e65206c3464a3f97185f0ce6e25b862;hpb=59cd34b59853f6a47e756d7ab5bc0329f40a471c;p=src%2Fapp-framework-binder.git diff --git a/include/afb/afb-daemon-v1.h b/include/afb/afb-daemon-v1.h index 9ac4f916..5a78b15d 100644 --- a/include/afb/afb-daemon-v1.h +++ b/include/afb/afb-daemon-v1.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"); @@ -17,7 +17,7 @@ #pragma once -#include "afb-daemon-common.h" +#include "afb-daemon-itf.h" /* * Retrieves the common systemd's event loop of AFB @@ -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); }