Using dbus_connection_send_with_reply() with and without dispatcher

Havoc Pennington havoc.pennington at
Fri Mar 27 06:54:54 PDT 2009


On Fri, Mar 27, 2009 at 4:45 AM, Soh Kam Yung <sohkamyung at> wrote:
> Thanks for the tips.  Looks like writing a C-API wrapper for libdbus
> isn't as straightforward as I thought.

There is a lot to it because libdbus is very lowest-common-denominator
and relies on a framework like Qt, GLib, etc. to provide important

Here is a catalog of what needs doing to "complete" libdbus in a
wrapper binding (my opinion anyway):

Generally speaking btw, a general-purpose library for linux apps
should assume an app will do the libdbus dispatching, since linux apps
are going to be using multiple dbus-using libs and they'll be using
either Qt, GLib, or equivalent bindings. In an embedded scenario, it's
up to you to define the platform and what apps will do.


More information about the dbus mailing list