Using dbus_connection_send_with_reply() with and without dispatcher

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


Hi,

On Fri, Mar 27, 2009 at 4:45 AM, Soh Kam Yung <sohkamyung at gmail.com> 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
functionality.

Here is a catalog of what needs doing to "complete" libdbus in a
wrapper binding (my opinion anyway):
http://lists.freedesktop.org/archives/dbus/2009-February/010988.html

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.

Havoc


More information about the dbus mailing list