Update copyright dates
[src/app-framework-binder.git] / src / afb-api-dbus.h
index 90f20c1..711df54 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016, 2017, 2018 "IoT.bzh"
+ * Copyright (C) 2015-2020 "IoT.bzh"
  * Author: José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
 
 #pragma once
 
-struct afb_req_itf;
+#if WITH_DBUS_TRANSPARENCY
 
-extern int afb_api_dbus_add_client(const char *path, struct afb_apiset *apiset);
+struct afb_req_itf;
 
-extern int afb_api_dbus_add_server(const char *path, struct afb_apiset *apiset);
+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