[PATCH] libhal_ctx_get_dbus_connection method

Christopher Santero csantero at gmail.com
Sun Jan 22 20:46:18 PST 2006


On 1/22/06, David Zeuthen <david at fubar.dk> wrote:
> Hmm, I'd rather we not do this.. it conflicts when you use libhal for
> direct
> connections I think. It seems you should rather change your program to
> pass around a structure with both the LibHalContext* and the
> DBusConnection* pointers...
>
> Btw, D-BUS connection is shared within a process so you get the same
> one with dbus_bus_get() (unless you use a direct connection but only
> hal helpers would do that).

Ah ok, didn't think of that. That's fine.

> p.s. : I'm not ignoring the Format() methods patch, I just want to
> land the
> privilege stuff first...

Don't worry, no rush.

Chris


More information about the hal mailing list