New function to load windows system libraries

This function uses GetSystemDirectory() to make sure we load the version
of the library from c:\windows\system32 (or local equivalent) rather than
whatever version lives in the cwd.
This commit is contained in:
Nick Mathewson
2010-09-21 13:07:11 -04:00
parent fb34c66e83
commit 418e6caeeb
3 changed files with 35 additions and 0 deletions
+4
View File
@@ -340,6 +340,10 @@ void start_daemon(void);
void finish_daemon(const char *desired_cwd);
void write_pidfile(char *filename);
#ifdef MS_WINDOWS
HANDLE load_windows_system_library(const TCHAR *library_name);
#endif
const char *libor_get_digests(void);
#endif