/* * Main function. * * Copyright 1994 Alexandre Julliard */ #include "config.h" #include #include #include #include #include #include #ifdef MALLOC_DEBUGGING # include #endif #include "windef.h" #include "winbase.h" #include "ntddk.h" #include "winnls.h" #include "winerror.h" #include "winsock.h" #include "heap.h" #include "msdos.h" #include "options.h" #include "debugtools.h" #include "module.h" #include "tweak.h" DECLARE_DEBUG_CHANNEL(file); #if 0 /*********************************************************************** * MAIN_ParseDebugOptions * * Turns specific debug messages on or off, according to "options". */ void MAIN_ParseDebugOptions( const char *arg ) { /* defined in relay32/relay386.c */ extern char **debug_relay_includelist; extern char **debug_relay_excludelist; /* defined in relay32/snoop.c */ extern char **debug_snoop_includelist; extern char **debug_snoop_excludelist; int i; int l, cls; char *options = strdup(arg); l = strlen(options); if (l<2) goto error; if (options[l-1]=='\n') options[l-1]='\0'; do { if ((*options!='+')&&(*options!='-')){ int j; for(j=0; j