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.

120 lines
2.0 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: spbase.h
  7. //
  8. // Contents:
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 09-23-97 jbanes LSA integration stuff.
  15. //
  16. //----------------------------------------------------------------------------
  17. #include <nt.h>
  18. #include <ntrtl.h>
  19. #include <nturtl.h>
  20. #include <windows.h>
  21. #include <winsock2.h>
  22. #include <wchar.h>
  23. #include <wincrypt.h>
  24. #include <lmcons.h>
  25. #include <stdlib.h>
  26. #include <stdio.h>
  27. #include <string.h>
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31. #define SECURITY_PACKAGE
  32. #define _SSL_WSP_
  33. #define MULTI_THREADED
  34. #define SECURITY_WIN32
  35. #include "schannel.h"
  36. #include <security.h>
  37. #include <spseal.h>
  38. #include <sspi.h>
  39. #include <wincred.h>
  40. #include <secint.h>
  41. /*
  42. ///////////////////////////////////////////////////////
  43. //
  44. // Private Headers
  45. //
  46. ///////////////////////////////////////////////////////
  47. */
  48. #include "spreg.h"
  49. #include "debug.h"
  50. #include "sperr.h"
  51. #include "spdefs.h"
  52. #include "keyexch.h"
  53. #include <certmap.h>
  54. #include "cred.h"
  55. #include "sigsys.h"
  56. #include "protocol.h"
  57. #include "specmap.h"
  58. #include "cache.h"
  59. #include "context.h"
  60. #include "cert.h"
  61. #include "defcreds.h"
  62. #include "protos.h"
  63. #include "rng.h"
  64. #include "callback.h"
  65. #include "capi.h"
  66. #include "events.h"
  67. #include "encode.h"
  68. #include <ssl2msg.h>
  69. #include <pct1msg.h>
  70. #include <ssl3msg.h>
  71. #include <ssl3key.h>
  72. #include <tls1key.h>
  73. #include <pct1prot.h>
  74. #include <ssl2prot.h>
  75. #include <sha.h>
  76. #include <md2.h>
  77. #include <rc2.h>
  78. #include <rc4.h>
  79. extern PLSA_SECPKG_FUNCTION_TABLE LsaTable;
  80. #define PCT_INVALID_MAGIC *(DWORD *)"eerF"
  81. #if DBG
  82. void SPAssert(
  83. void *FailedAssertion,
  84. void *FileName,
  85. unsigned long LineNumber,
  86. char * Message);
  87. #define SP_ASSERT(x) \
  88. if (!(x)) \
  89. SPAssert(#x, __FILE__, __LINE__, NULL); else
  90. #else // DBG
  91. #define SP_ASSERT(x)
  92. #endif // DBG
  93. #ifdef __cplusplus
  94. }
  95. #endif
  96. #pragma hdrstop