Hiding internal DBUS use inside a library

Colin Walters walters at verbum.org
Thu Aug 25 15:00:18 PDT 2005


On Thu, 2005-08-25 at 23:07 +0200, Lennart Poettering wrote:
> On Thu, 25.08.05 16:44, Havoc Pennington (hp at redhat.com) wrote:
> 
> > With GNOME apps, set_timeout_functions() will always be called by the
> > GLib main loop stuff, and set_max_received_size() would never be called
> > (it's a specialized function used only by the message bus).
> 
> Wrong. Our client library for the avahi mdns/dns-sd responder tries to
> abstract DBUS from the user. Hence it WILL call
> set_{timeout,watch}_functions(), even when used by Gnome apps.

This is confusing to me - what arguments does it give to those
functions?  Is it using an internal mainloop or something?
Why is it useful to call those functions if the application is using a
GLib mainloop?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050825/b13afe7d/attachment.pgp


More information about the dbus mailing list