Question on C code - any programmatic way of setting DBUS_BUS_SESSION address?
Andrejus Chaliapinas
a.chaliapinas at infosana.com
Tue Apr 22 22:58:58 PDT 2008
Hi,
While in dbus_bus.c (v1.1.20) I could see method like internal_bus_get,
which has this code line:
address = bus_connection_addresses[address_type];
I don't see any way of setting that address programmatically and without
touching environment settings. Is it possible?
Why not have extended version of dbus_bus_get:
Instead of:
dbus_bus_get (DBusBusType type,
DBusError *error)
Have this:
dbus_bus_get (DBusBusType type,
const char* address,
DBusError *error)
And then reflect to that in internal_bus_get accordingly?
What do you think?
Thank you,
Andrejus
More information about the dbus
mailing list