Moved specification of relay and snoop include/exclude functions to
the config file.
Changed spy config a bit to follow the same scheme.
Moved debug option parsing routine into libwine.
diff --git a/relay32/snoop.c b/relay32/snoop.c
index 59f8ba3..109a8cf 100644
--- a/relay32/snoop.c
+++ b/relay32/snoop.c
@@ -42,7 +42,8 @@
return EXCEPTION_CONTINUE_SEARCH;
}
-char **debug_snoop_excludelist = NULL, **debug_snoop_includelist = NULL;
+extern const char **debug_snoop_excludelist;
+extern const char **debug_snoop_includelist;
#ifdef __i386__
@@ -113,7 +114,7 @@
int SNOOP_ShowDebugmsgSnoop(const char *dll, int ord, const char *fname) {
if(debug_snoop_excludelist || debug_snoop_includelist) {
- char **listitem;
+ const char **listitem;
char buf[80];
int len, len2, itemlen, show;