Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

135 lines
2.4 KiB

  1. /**********************************************************************/
  2. /** Microsoft Windows NT **/
  3. /** Copyright(c) Microsoft Corp., 1993 **/
  4. /**********************************************************************/
  5. /*
  6. w3data.hxx
  7. This file contains the global variable definitions for the
  8. W3 Service.
  9. FILE HISTORY:
  10. KeithMo 07-Mar-1993 Created.
  11. */
  12. #ifndef _W3DATA_H_
  13. #define _W3DATA_H_
  14. //
  15. // Locks
  16. //
  17. extern CRITICAL_SECTION csGlobalLock;
  18. //
  19. // Connection information related data.
  20. //
  21. extern LIST_ENTRY listConnections;
  22. //
  23. // Miscellaneous data.
  24. //
  25. extern HANDLE g_hSysAccToken; // system access token
  26. extern TCHAR * g_pszW3TempDirName; // Name of temporary directory.
  27. //
  28. // Server type string
  29. //
  30. extern CHAR g_szServerType[];
  31. extern DWORD g_cbServerType;
  32. extern CHAR szServerVersion[];
  33. extern DWORD cbServerVersionString;
  34. extern STR* g_pstrMovedMessage;
  35. //
  36. // Whether or not to send HTTP 1.1
  37. //
  38. extern DWORD g_ReplyWith11;
  39. //
  40. // Whether or not to use TransmitFileAndRecv
  41. //
  42. extern DWORD g_fUseAndRecv;
  43. //
  44. // Platform type
  45. //
  46. extern PLATFORM_TYPE W3PlatformType;
  47. extern BOOL g_fIsWindows95;
  48. //
  49. // Global Statistics.
  50. //
  51. extern LPW3_SERVER_STATISTICS g_pW3Stats; // Statistics.
  52. //
  53. // True if there's an encryption filter installed
  54. //
  55. extern BOOL fAnySecureFilters;
  56. //
  57. // Header Date time cache
  58. //
  59. extern PW3_DATETIME_CACHE g_pDateTimeCache;
  60. //
  61. // PUT/DELETE wait event timeout.
  62. //
  63. extern DWORD g_dwPutEventTimeout;
  64. extern CHAR g_szPutTimeoutString[];
  65. extern DWORD g_dwPutTimeoutStrlen;
  66. //
  67. // Downlevel Client Support (no HOST header support)
  68. //
  69. extern BOOL g_fDLCSupport;
  70. extern TCHAR* g_pszDLCMenu;
  71. extern DWORD g_cbDLCMenu;
  72. extern TCHAR* g_pszDLCHostName;
  73. extern DWORD g_cbDLCHostName;
  74. extern TCHAR* g_pszDLCCookieMenuDocument;
  75. extern DWORD g_cbDLCCookieMenuDocument;
  76. extern TCHAR* g_pszDLCMungeMenuDocument;
  77. extern DWORD g_cbDLCMungeMenuDocument;
  78. extern TCHAR* g_pszDLCCookieName;
  79. extern DWORD g_cbDLCCookieName;
  80. //
  81. // Maximum client request buffer size
  82. //
  83. extern DWORD g_cbMaxClientRequestBuffer;
  84. //
  85. // WAMs need to write to system log
  86. //
  87. extern EVENT_LOG *g_pWamEventLog;
  88. //
  89. // Toggle for getting stack backtraces when appropriate
  90. //
  91. extern BOOL g_fGetBackTraces;
  92. #endif // _W3DATA_H_