[PATCH libgpiod v3 11/18] dbus: add a wrapper around the gdbus-codegen generated header

Bartosz Golaszewski brgl at bgdev.pl
Thu Jul 18 09:28:05 UTC 2024


From: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>

Add a header that will be included by all the code using the automatically
generated GLib layer for the DBus interface.

Tested-by: Alexander Sverdlin <alexander.sverdlin at siemens.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
---
 dbus/lib/gpiodbus.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dbus/lib/gpiodbus.h b/dbus/lib/gpiodbus.h
new file mode 100644
index 0000000..69362f0
--- /dev/null
+++ b/dbus/lib/gpiodbus.h
@@ -0,0 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/* SPDX-FileCopyrightText: 2023 Bartosz Golaszewski <bartosz.golaszewski at linaro.org> */
+
+#ifndef __GPIODBUS_H__
+#define __GPIODBUS_H__
+
+#include "generated-gpiodbus.h"
+
+#endif /* __GPIODBUS_H__ */

-- 
2.43.0



More information about the dbus mailing list