Update copyright dates
[src/app-framework-binder.git] / src / afb-api-dbus.h
index 10f5f7f..711df54 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 "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;
-
-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