Question on C code - any programmatic way of setting DBUS_BUS_SESSION address?
Andrejus Chaliapinas
a.chaliapinas at infosana.com
Tue Apr 22 23:21:39 PDT 2008
> I believe you can just do:
>
> putenv("DBUS_SESSION_BUS_ADDRESS=<address>");
>
> before calling dbus_bus_get() ?
>
> Anyway I don't believe D-Bus mainainers are likely to make an API
> change...
>
> Best,
>
> Olivier
Hmm, but will you have then init_connections_unlocked function (which
actually fills that bus_connection_addresses array and is called from inside
internal_bus_get if not initialized yet) reinvoked?
Andrejus
More information about the dbus
mailing list