On Wed, Dec 14, 2011 at 4:25 PM, Patrick Ohly <patrick.o...@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
>> relevant
>> > technical documentation. I was looking for information on
>> bootstrapping
>> > a D-Bus connection over a pair of connected file descriptors,
>> without
>> > 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.
>
> Looks promising.
>
> 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 [1].

Also, I intend to use g_spawn [2] 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
> week ;-)
>

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.

Cheers,
Chris

[1] http://developer.gnome.org/gio/2.28/GDBusServer.html#GDBusServer.signals
[2] http://developer.gnome.org/glib/2.28/glib-Spawning-Processes.html
_______________________________________________
SyncEvolution mailing list
SyncEvolution@syncevolution.org
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to