[systemd-devel] D-Bus method parameter names in introspection XML
Mantas Mikulėnas
grawity at gmail.com
Mon Feb 18 21:24:12 UTC 2019
On Mon, Feb 18, 2019 at 9:16 PM Stanislav Angelovič <angelovic.s at gmail.com>
wrote:
> Hi guys,
>
> sd-bus implements and automatically provides
> org.freedesktop.DBus.Introspectable interface for each object vtable. Xml
> output of Introspect method of that interface provides all necessary
> information but one -- names of method parameters.
>
> It's quite convenient that when one introspects a service and its
> interfaces, he wants very much to see names of method parameters. Naming of
> parameters adds a whole different level of self-expressiveness and clarity
> to interface description. D-Bus specification (
> https://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format)
> mentions names of method parameters as well.
>
> Are there any ways to solve this on sd-bus user side? Either way, would it
> be possible to extend sd-bus vtable registration and introspection
> facilities to incorporate names of method parameters?
>
See last month's discussion:
https://lists.freedesktop.org/archives/systemd-devel/2019-January/thread.html#41921
https://github.com/systemd/systemd/pull/11357
--
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190218/b9725b78/attachment.html>
More information about the systemd-devel
mailing list