[systemd-devel] why the function don't have the parameter of 'value'

Lennart Poettering lennart at poettering.net
Tue Aug 13 07:44:59 UTC 2019


On Di, 13.08.19 09:21, www (ouyangxuan10 at 163.com) wrote:

> I am looking forward to your reply.
> thanks,

It expects that you registered an object vtable first, which lists
properties. The getters in that vtable are then called for the values.

This is unfortunately a bit under-documented, but basically everything
defined via the SD_BUS_PROPERTY() macro for the same object path is
included (given the right flags) in the message.

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list