dbus: display D-Bus API versions implemented by the manager and gpiocli
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 14 Oct 2024 13:13:28 +0000 (15:13 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 14 Oct 2024 13:13:28 +0000 (15:13 +0200)
commitcfbaa54427ba9b8e9e1bf30f5a28a33e90d99d2f
tree2d75f7c5d35ac213e21024e4b56e3d0f65a74809
parent392cae9e4233040e1d1a171552490fa9be7fd6dd
dbus: display D-Bus API versions implemented by the manager and gpiocli

When passing -v/--version to gpiocli or gpio-manager, it's useful to
also know the version of the GPIO D-Bus API the program implements.
Define the version in the gpiodbus.h header and print it together with
the library version.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
dbus/client/gpiocli.c
dbus/lib/gpiodbus.h
dbus/manager/gpio-manager.c