X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-dbus.h;h=711df5475d9234006f0281cec5bc4a0cccd4f028;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=10f5f7ff504bb536d2a232ae3a2f44cdec216eb3;hpb=7e0abe76db7b90369429bf387d7aad0fb5a42328;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-dbus.h b/src/afb-api-dbus.h index 10f5f7ff..711df547 100644 --- a/src/afb-api-dbus.h +++ b/src/afb-api-dbus.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016 "IoT.bzh" + * Copyright (C) 2015-2020 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -18,12 +18,12 @@ #pragma once -struct afb_req_itf; - -extern const struct afb_req_itf afb_api_dbus_req_itf; +#if WITH_DBUS_TRANSPARENCY -extern int afb_api_dbus_add_client(const char *path); +struct afb_req_itf; -extern int afb_api_dbus_add_server(const char *path); +extern int afb_api_dbus_add_client(const char *path, struct afb_apiset *declare_set, struct afb_apiset *call_set); +extern int afb_api_dbus_add_server(const char *path, struct afb_apiset *declare_set, struct afb_apiset *call_set); +#endif