Re: sd-bus signal callback return value

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

 



Hi,

I've opened a pull request to clarify the return values of the callbacks and their effect: https://github.com/systemd/systemd/pull/15253. It's not complete yet but the idea is to add answers for all your questions to the docs.

Regards,

Daan

On Tue, 24 Mar 2020 at 21:44, Stanislav Angelovič <angelovic.s@xxxxxxxxx> wrote:
Hi folks,

Please, what is the difference in sd-bus behavior when my D-Bus signal callback returns a zero return value versus a positive return value?

And what's the difference between those return values in D-Bus method callback, D-Bus async method reply callback, D-Bus property get callback, and D-Bus property set callback?

Which shall I return in normal cases? Zero?

Thanks a lot in advance for your response... Take care & stay healthy,

Stanislav.

_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel
_______________________________________________
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