X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api-dbus.h;h=711df5475d9234006f0281cec5bc4a0cccd4f028;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=c8a7bc3f6e761a695340f6727f57f1689bb942bf;hpb=8112056eecede587bf884f56629858c8b21bdbec;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api-dbus.h b/src/afb-api-dbus.h index c8a7bc3f..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,8 +18,12 @@ #pragma once -extern int afb_api_dbus_add_client(const char *path); +#if WITH_DBUS_TRANSPARENCY -extern int afb_api_dbus_add_server(const char *path); +struct afb_req_itf; +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