From 6e380ecf35ec1a6993198ccf432b759ff9db6988 Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Wed, 28 Aug 2013 19:56:58 +0200 Subject: [PATCH] Export _dbus_getsid() for test applications. --- dbus/dbus-sysdeps-win.c | 2 +- dbus/dbus-sysdeps-win.h | 2 ++ 2 Dateien geändert, 3 Zeilen hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index efeb2a6..a63de7e 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -979,7 +979,7 @@ static BOOL is_winxp_sp3_or_lower() * @param process_id the process id for which the sid should be returned * @returns process sid */ -static dbus_bool_t +dbus_bool_t _dbus_getsid(char **sid, dbus_pid_t process_id) { HANDLE process_token = INVALID_HANDLE_VALUE; diff --git a/dbus/dbus-sysdeps-win.h b/dbus/dbus-sysdeps-win.h index 7cb1b6f..489ef95 100644 --- a/dbus/dbus-sysdeps-win.h +++ b/dbus/dbus-sysdeps-win.h @@ -88,6 +88,8 @@ dbus_bool_t _dbus_get_install_root(char *prefix, int len); void _dbus_threads_windows_init_global (void); void _dbus_threads_windows_ensure_ctor_linked (void); +dbus_bool_t _dbus_getsid(char **sid, dbus_pid_t process_id); + #endif /** @} end of sysdeps-win.h */ -- 1.7.10.4