glib/gio/win32
Tor Lillqvist 2f575b95ac Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()
2008-11-12  Tor Lillqvist  <tml@novell.com>

	Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init()

	* win32/gwinhttpvfs.h: Move the set of function pointers to
	winhttp.dll into a separate struct GWinHttpDllFuncs. Just have a
	pointer to that in the GWinHttpVfsClass.
	
	* win32/gwinhttpvfs.c: Move the lookup of functions from
	winhttp.dll into a function of its own, that stores the pointers
	in a separate GWinHttpDllFuncs variable. Add two bookeeping
	booleans lookup_done and funcs_found.

	Don't call g_io_extension_point_implement() to register the
	winhttp extension unless winhttp.dll has been successfully loaded
	and the required functions found in it.

	* win32/gwinhttp*.c: Adjust calls of the functions looked up from
	winhttp.dll correspondingly.


svn path=/trunk/; revision=7648
2008-11-12 17:52:39 +00:00
..
gwin32directorymonitor.c Bug 546582 - Callbacks from GFileMonitor present a GFile in the wrong 2008-08-13 06:56:31 +00:00
gwin32directorymonitor.h win32/gwin32directorymonitor.h Whitespace cleanup to match GLib style. 2008-08-03 00:17:39 +00:00
gwinhttpfile.c Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init() 2008-11-12 17:52:39 +00:00
gwinhttpfile.h win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c 2008-08-12 23:09:04 +00:00
gwinhttpfileinputstream.c Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init() 2008-11-12 17:52:39 +00:00
gwinhttpfileinputstream.h win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c 2008-08-12 23:09:04 +00:00
gwinhttpfileoutputstream.c Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init() 2008-11-12 17:52:39 +00:00
gwinhttpfileoutputstream.h win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c 2008-08-12 23:09:04 +00:00
gwinhttpvfs.c Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init() 2008-11-12 17:52:39 +00:00
gwinhttpvfs.h Bug 556415 - Crash on Windows 2000 in g_winhttp_vfs_init() 2008-11-12 17:52:39 +00:00
Makefile.am win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c 2008-08-12 23:09:04 +00:00
winhttp.h win32/gwinhttpvfs.c win32/gwinhttpvfs.h win32/gwinhttpfile.c 2008-08-13 19:39:49 +00:00