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-win.c | |
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-win.c')
-rw-r--r-- | dbus/dbus-sysdeps-win.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index c62e145d..02f31231 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -5,7 +5,7 @@ * Copyright (C) 2003 CodeFactory AB * Copyright (C) 2005 Novell, Inc. * Copyright (C) 2006 Ralf Habacker <ralf.habacker@freenet.de> - * Copyright (C) 2006 Peter Kümmel <syntheticpp@gmx.net> + * Copyright (C) 2006 Peter Kümmel <syntheticpp@gmx.net> * Copyright (C) 2006 Christian Ehrlicher <ch.ehrlicher@gmx.de> * * Licensed under the Academic Free License version 2.1 @@ -3281,6 +3281,17 @@ _dbus_append_session_config_file (DBusString *str) return _dbus_get_config_file_name(str, "session.conf"); } +/* See comment in dbus-sysdeps-unix.c */ +dbus_bool_t +_dbus_lookup_session_address (dbus_bool_t *supported, + DBusString *address, + DBusError *error) +{ + /* Probably fill this in with something based on COM? */ + *supported = FALSE; + return TRUE; +} + /** * Appends the directory in which a keyring for the given credentials * should be stored. The credentials should have either a Windows or |