diff options
author | Colin Walters <walters@verbum.org> | 2009-07-13 12:47:19 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-07-13 12:47:19 -0400 |
commit | 6478ec6949c6bb794237b43d03b68f80eba1288c (patch) | |
tree | 6cf13e96d9f6aa52abff418ff8a048e586a2b01b /dbus/dbus-sysdeps.h | |
parent | c71403ddde230378e3beffee21a3d1fe6edc9bce (diff) |
Bug 14259 - Make session address lookup system-dependent
On some platforms such as MacOS X and Windows, we can't depend
on an environment variable to determine the address of the
session bus. Create a sysdep function dbus_lookup_session_address
which can be filled in with platform-specific code.
Diffstat (limited to 'dbus/dbus-sysdeps.h')
-rw-r--r-- | dbus/dbus-sysdeps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-sysdeps.h b/dbus/dbus-sysdeps.h index 7af4287a..2fd54214 100644 --- a/dbus/dbus-sysdeps.h +++ b/dbus/dbus-sysdeps.h @@ -468,6 +468,10 @@ void _dbus_log_security (const char *msg, va_list args); dbus_bool_t _dbus_get_autolaunch_address (DBusString *address, DBusError *error); +dbus_bool_t _dbus_lookup_session_address (dbus_bool_t *supported, + DBusString *address, + DBusError *error); + /** Type representing a universally unique ID * @todo rename to UUID instead of GUID */ |