On Wed, Dec 14, 2011 at 4:25 PM, Patrick Ohly <patrick.ohly(a)intel.com> wrote:
On Mi, 2011-12-14 at 15:44 +0100, Chris Kühl wrote:
> >> Ok, I'm looking into this. The original plan was that Step 1 was a
> >> dependency of Step 2 but I've been reconsidering my approach. I'll
> >> look into what you're asking and get back to you soon.
> > I can also do that part myself, if you give me some pointers to
> > technical documentation. I was looking for information on
> > a D-Bus connection over a pair of connected file descriptors,
> > much luck.
> Well, in GIO GDBus you can create a connection using a GIOStream using
> g_dbus_connection_new_sync(). Not sure if that would really work the
> way you want, though.
How about the same thing for libdbus?
I just looked but don't see anything. If you are referring to setting
up a peer-to-peer dbus connection, that's done using the (G)DBusServer
class. There is an example at .
Also, I intend to use g_spawn  for the fork and exec'ing. Should
offer enough control and make for less code to maintain.
> I've no problem doing this, though.
I don't care either way, as long as we can get it done soon, like this
That might be a little tight. Tomorrow is a short day for me; Xmas
party at the Kindergarten my kids attend. So, maybe it's better you
tackle this if you need it that fast.