From 607b228df6f1f754bf9bda6cfa21563913b1e7ff Mon Sep 17 00:00:00 2001
From: Gerald Combs <gerald@wireshark.org>
Date: Wed, 25 Aug 2010 20:30:59 +0000
Subject: Add ws_load_library and ws_module_open, which respectively call
 LoadLibrary and g_module_open only for the program directory and system
 directory on Windows. Use them to replace a bunch of LoadLibrary and
 g_module_open calls. Use the extension ".dll" for all the DLLs that we load.
 Add comments about DLL loading in Python.

svn path=/trunk/; revision=33924
---
 wsutil/libwsutil.def | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'wsutil/libwsutil.def')

diff --git a/wsutil/libwsutil.def b/wsutil/libwsutil.def
index 2cbe0852b0..a0cafe95fc 100644
--- a/wsutil/libwsutil.def
+++ b/wsutil/libwsutil.def
@@ -18,6 +18,8 @@ ws_stdio_remove
 ws_stdio_rename
 ws_stdio_stat
 ws_stdio_unlink
+ws_load_library
+ws_module_open
 
 ; inet_aton.c
 inet_aton
-- 
cgit v1.2.3

