[systemd-devel] D-Bus method parameter names in introspection XML
Stanislav Angelovič
angelovic.s at gmail.com
Mon Feb 18 19:16:28 UTC 2019
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?
Thank you.
Stanislav,
sdbus-c++ maintainer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190218/fed3eda1/attachment.html>
More information about the systemd-devel
mailing list