summaryrefslogtreecommitdiffstats
path: root/private/net/svcdlls/browser2/browtest/browglob.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/net/svcdlls/browser2/browtest/browglob.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/net/svcdlls/browser2/browtest/browglob.h')
-rw-r--r--private/net/svcdlls/browser2/browtest/browglob.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/private/net/svcdlls/browser2/browtest/browglob.h b/private/net/svcdlls/browser2/browtest/browglob.h
new file mode 100644
index 000000000..4f2e61e9d
--- /dev/null
+++ b/private/net/svcdlls/browser2/browtest/browglob.h
@@ -0,0 +1,62 @@
+/*
+ * This file contains all the global variables in browtest.
+ */
+
+
+
+//
+// Note that the ordering of these lists are important
+//
+TCHAR *TRANSPORTS[MAXPROTOCOLS] = {L"NwlnkIpx", L"NwlnkNb", L"NetBT", L"Ubnb", L"Nbf"};
+CHAR *PROTOCOLS[MAXPROTOCOLS] = {"IPX", "NBIPX", "TCP", "XNS", "NETBEUI"};
+enum E_PROTOCOLS {IPX, NBIPX, TCP, XNS, NETBEUI};
+
+
+OSPROP OSTYPES[MAXOSTYPES] = {{"DOSLM", 0},
+ {"OS2", 0},
+ {"WFW3.11", 1},
+ {"CHICAGO", 1},
+ {"NT3.1", 2},
+ {"NT3.5", 2},
+ {"AS3.1", 3},
+ {"AS3.5", 4}
+ };
+
+
+MACHINEINFO HeadList1;
+
+// File pointers to the log file and summary file
+FILE *fplog;
+FILE *fpsum;
+
+
+CHAR PrintBuf[1024];
+DOMAININFO LocDomInfo; // PDC of local domain
+LPMACHINEINFO lpDomStart; // Local machine domain start
+LPMACHINEINFO lpLocMachineInfo; // Local machine info
+
+DWORD ERRCOUNT = 0;
+DWORD WRNCOUNT = 0;
+DWORD TESTCOUNT = 0;
+DWORD SUCSCOUNT = 0;
+DWORD OKCOUNT = 0;
+
+TCHAR wcTESTEDDOMAINS[MAXTESTEDDOMAINS][DNLEN+1];
+INT iNumOfTestedDomains = 0;
+
+BOOL bIPXHack = TRUE;
+BOOL bForceAnn = FALSE;
+BOOL bSingleDomTest = TRUE;
+DWORD dwStressTest = 0;
+
+
+COMMAND_TABLE CommandTable[] = {{"IPXHack" , VALUETYPE_BOOL, &bIPXHack},
+ {"ForceAnn", VALUETYPE_BOOL, &bForceAnn},
+ {"SingleD" , VALUETYPE_BOOL, &bSingleDomTest},
+ {"StressT" , VALUETYPE_ULONG, &dwStressTest}};
+
+
+INT CommandTableSz = (sizeof(CommandTable)/sizeof(COMMAND_TABLE));
+
+
+HANDLE ConsoleMutex;