Re: D-Bus method parameter names in introspection XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mo, 18.02.19 20:16, Stanislav Angelovič (angelovic.s@xxxxxxxxx) 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?

Yes, support for this has been merged today:

https://github.com/systemd/systemd/pull/11357

Lennart

--
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux