]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
* dbus/dbus-sysdeps-win.c (_dbus_homedir_from_username, _dbus_homedir_from_current_pr...
authorRalf Habacker <ralf.habacker@freenet.de>
Thu, 21 Jun 2007 12:34:06 +0000 (12:34 +0000)
committerRalf Habacker <ralf.habacker@freenet.de>
Thu, 21 Jun 2007 12:34:06 +0000 (12:34 +0000)
ChangeLog
dbus/dbus-sysdeps-win.c

index dd0b6d215473bf62a701c5cd0f6d4891f77250fa..0abee275cb825c42ed0141a11bb218ceebd98ea4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-21 Ralf Habacker  <ralf.habacker@freenet.de>
+
+       * dbus/dbus-sysdeps-win.c (_dbus_homedir_from_username, 
+       _dbus_homedir_from_current_process, _dbus_append_desired_identity): 
+       removed obsolate functions
+
 2007-06-21 Ralf Habacker  <ralf.habacker@freenet.de>
 
        * dbus/dbus-sysdeps-win.c, dbus/dbus-sysdeps-util-win.c, 
index ece53a07de914fec71a7ffc17d3ecba689d6bbac..67725d839d140db9d5c6e6e810d301426cb05c13 100644 (file)
@@ -4305,55 +4305,6 @@ _dbus_append_user_from_current_process (DBusString *str)
                                    _dbus_getuid ());
 }
 
-/**
- * Gets the home directory for the given user.
- *
- * @param username the username
- * @param homedir string to append home directory to
- * @returns #TRUE if user existed and we appended their homedir
- */
-dbus_bool_t
-_dbus_homedir_from_username (const DBusString *username,
-                             DBusString       *homedir)
-{
-    _dbus_string_append (homedir, "/");
-    return TRUE;
-}
-
-/**
- * Gets homedir of user owning current process.  The returned string
- * is valid until dbus_shutdown() is called.
- *
- * @param homedir place to store pointer to homedir
- * @returns #FALSE if no memory
- */
-dbus_bool_t
-_dbus_homedir_from_current_process (const DBusString  **homedir)
-{
-  char *s = getenv("HOMEPATH");
-  DBusString *dir=0;
-  _dbus_string_init(dir);
-  _dbus_string_append (dir, s);
-  *homedir = dir;
-  return TRUE;
-}
-
-/**
- * Append to the string the identity we would like to have when we authenticate,
- * on UNIX this is the current process UID and on Windows something else.
- * No escaping is required, that is done in dbus-auth.c.
- * 
- * @param str the string to append to
- * @returns #FALSE on no memory
- */
-dbus_bool_t
-_dbus_append_desired_identity (DBusString *str)
-{
-    /* FIXME: */
-  return _dbus_string_append_uint (str,
-                                   _dbus_getuid ());
-}
-
 /**
  * Gets our process ID
  * @returns process ID