X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-dbus.h;h=711df5475d9234006f0281cec5bc4a0cccd4f028;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=b4c2da8d5b0e1c40badacbd82d2315e22c15a60a;hpb=a38382e89710db2c298f7f101e3ba0cf3681287c;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-dbus.h b/src/afb-api-dbus.h index b4c2da8d..711df547 100644 --- a/src/afb-api-dbus.h +++ b/src/afb-api-dbus.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017 "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