Leaked source code of windows server 2003
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.

243 lines
4.3 KiB

  1. /*++
  2. Copyright (c) 1994 Microsoft Corporation
  3. Module Name:
  4. wininetp.h
  5. Abstract:
  6. Includes all headers for precompiled header to build Windows Internet
  7. client DLL
  8. Author:
  9. Richard L Firth (rfirth) 26-Oct-1994
  10. Revision History:
  11. 26-Oct-1994 rfirth
  12. Created
  13. --*/
  14. #ifndef __WININETP_H__
  15. #define __WININETP_H__ 1
  16. //
  17. // Checked builds get INET_DEBUG set by default; retail builds get no debugging
  18. // by default
  19. //
  20. // #define STRESS_BUG_DEBUG // for stress debugging
  21. #if DBG
  22. #define STRESS_BUG_DEBUG // for stress debugging
  23. #if !defined(INET_DEBUG)
  24. #define INET_DEBUG 1
  25. #endif // INET_DEBUG
  26. #else
  27. #if !defined(INET_DEBUG)
  28. #define INET_DEBUG 0
  29. #endif // INET_DEBUG
  30. #endif // DBG
  31. //
  32. // common include files
  33. //
  34. //
  35. // CRT includes
  36. //
  37. #include <stdio.h>
  38. #include <stdlib.h>
  39. #include <stdarg.h>
  40. #include <stddef.h> // Pull in the 'offsetof' macro.
  41. #include <string.h>
  42. #include <memory.h>
  43. #include <ctype.h>
  44. #include <excpt.h>
  45. #include <limits.h>
  46. #include <fcntl.h>
  47. #include <io.h>
  48. #include <time.h>
  49. //
  50. // OS includes
  51. //
  52. #if defined(__cplusplus)
  53. extern "C" {
  54. #endif
  55. #include <nt.h>
  56. #include <ntrtl.h>
  57. #include <nturtl.h>
  58. #include <ntexapi.h>
  59. #include <windows.h>
  60. #if defined(__cplusplus)
  61. }
  62. #endif
  63. //#include <fastcrit.h>
  64. //
  65. // SSL/PCT Security includes
  66. //
  67. #if defined(__cplusplus)
  68. extern "C" {
  69. #endif
  70. #define SECURITY_WIN32
  71. #include <sspi.h> // standard SSPI interface
  72. #include <issperr.h> // SSPI errors.
  73. #include <spseal.h> // Private SSPI Seal/UnSeal functions.
  74. #include <schnlsp.h> // shared private schannel/wininet interfaces.
  75. #include <wintrust.h> // various CAPI stuff for cert management
  76. #include <wincrypt.h>
  77. #if defined(__cplusplus)
  78. }
  79. #endif
  80. #define WININET_SERVER_CORE 1
  81. //
  82. // WININET includes
  83. //
  84. #include <iwinsock.h>
  85. #include <winhttp.h>
  86. #include <internal.h>
  87. #include <private.h>
  88. #include <ansi.h>
  89. #include <wininetd.h>
  90. #include <resinfo.h>
  91. #include <syncobj.hxx>
  92. #include <serialst.h>
  93. #include <chunkflt.hxx>
  94. #include <inetdbg.h>
  95. #ifdef WINHTTP_FOR_MSXML
  96. # include <msxmlmem.h>
  97. #else
  98. # include <debugmem.h>
  99. #endif
  100. #include <shlwapi.h>
  101. #define NO_SHLWAPI_MLUI
  102. #include <shlwapip.h>
  103. #include <malloc.h>
  104. #include <crtsubst.h>
  105. #include <handle.h>
  106. #include <constant.h>
  107. #include <macros.h>
  108. #include <inetp.h>
  109. #include <util.h>
  110. #include <proxreg.h>
  111. #include <icstring.hxx>
  112. #include <cliauth.hxx>
  113. #include <certcach.hxx>
  114. #include <buffer.hxx>
  115. #include <thrdinfo.h>
  116. #include <defaults.h>
  117. #include <passport.h>
  118. #include <spluginx.hxx>
  119. #include <splugin.hxx>
  120. #include <secinit.h>
  121. #include <inetsspi.h>
  122. #include <tstr.h>
  123. #include <registry.h>
  124. #include <parseurl.h>
  125. #include <globals.h>
  126. #include <autoprox.hxx>
  127. #include <reslock.hxx>
  128. #include <proxysup.hxx>
  129. #include <hinet.hxx>
  130. #include <priolist.hxx>
  131. #include <icasync.hxx>
  132. #include <caddrlst.hxx>
  133. #include <icsocket.hxx>
  134. #include <ssocket.hxx>
  135. #include <servinfo.hxx>
  136. #include <connect.hxx>
  137. #include <http.hxx>
  138. #include <cookie.h>
  139. #include <rescache.h>
  140. #include <parsers.h>
  141. #include <fsm.hxx>
  142. #include <mpacket.hxx>
  143. #include <inetchar.h>
  144. #include <bgtask.hxx>
  145. #if defined(__cplusplus)
  146. extern "C" {
  147. #endif
  148. //
  149. // Various protocol package initializers.
  150. //
  151. BOOL
  152. WINAPI
  153. WinInetDllEntryPoint(
  154. IN HINSTANCE DllHandle,
  155. IN DWORD Reason,
  156. IN LPVOID Reserved
  157. );
  158. #if defined(__cplusplus)
  159. }
  160. #endif
  161. //
  162. // Need version 0x400 for ras defines for this to work on win95 gold.
  163. //
  164. #if defined(__cplusplus)
  165. extern "C" {
  166. #endif
  167. #undef WINVER
  168. #define WINVER 0x400
  169. #include <ras.h>
  170. #include <raserror.h>
  171. #ifdef ICECAP
  172. extern "C" void _stdcall StartCAP(void);
  173. extern "C" void _stdcall StopCAP(void);
  174. extern "C" void _stdcall SuspendCAP(void);
  175. extern "C" void _stdcall ResumeCAP(void);
  176. extern "C" void _stdcall MarkCAP(long lMark); // write mark to MEA
  177. extern "C" void _stdcall AllowCAP(void); // Allow profiling when 'profile=almostnever'
  178. #else
  179. #define StartCAP()
  180. #define StopCAP()
  181. #define SuspendCAP()
  182. #define ResumeCAP()
  183. #define MarkCAP(n)
  184. #define AllowCAP()
  185. #endif
  186. #if defined(__cplusplus)
  187. }
  188. #endif
  189. /* X-Platform stuff */
  190. #include <xpltfrm.h>
  191. #endif /* __WININETP_H__ */