On Wed, 07.06.17 14:01, Pawel Szewczyk (p.szewc...@samsung.com) wrote:

> Hello,
> 
> What is the purpose of sd_bus_add_filter() function? There is no
> documentation for it and all I can tell from looking over the code is that
> the callback registered by it is called on every dbus message. What else
> does it do?

Nothing. It may be used to install a callback that is called early for
each incoming message and may be used to filter them (i.e. drop them
or permit them) or otherwise process them. They do not install any match,
and hence only get what other matches have already selected.

Lennart

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

Reply via email to