aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api-dbus.h
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-02-18 13:13:56 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-22 12:21:54 +0100
commit66ec7ca3dc2bc4c9c51c45c8b306f42519abcb00 (patch)
treedb4954b1efd2f57e1f3f47a27a56889355a3c58c /src/afb-api-dbus.h
parent79d63b68dd5f4047a49ac178094afb2c206c167f (diff)
Improve setting of options
Change-Id: Idbadb9b7b801cb61d527addb5d3137aeb4cf6311 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-api-dbus.h')
-rw-r--r--src/afb-api-dbus.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/afb-api-dbus.h b/src/afb-api-dbus.h
index a85fe92a..cda97c0c 100644
--- a/src/afb-api-dbus.h
+++ b/src/afb-api-dbus.h
@@ -18,10 +18,12 @@
#pragma once
+#if WITH_DBUS_TRANSPARENCY
+
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