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