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.

121 lines
2.2 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 <sslprgma.h>
  18. #include <nt.h>
  19. #include <ntrtl.h>
  20. #include <nturtl.h>
  21. #include <windows.h>
  22. #include <winsock2.h>
  23. #include <wchar.h>
  24. #include <wincrypt.h>
  25. #include <lmcons.h>
  26. #include <stdlib.h>
  27. #include <stdio.h>
  28. #include <string.h>
  29. #include <alloca.h>
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33. #define SECURITY_PACKAGE
  34. #define MULTI_THREADED
  35. #define SECURITY_WIN32
  36. #include "schannel.h"
  37. #include <security.h>
  38. #include <spseal.h>
  39. #include <sspi.h>
  40. #include <wincred.h>
  41. #include <secint.h>
  42. #include <crypt.h>
  43. /*
  44. ///////////////////////////////////////////////////////
  45. //
  46. // Private Headers
  47. //
  48. ///////////////////////////////////////////////////////
  49. */
  50. #include "spreg.h"
  51. #include "debug.h"
  52. #include "sperr.h"
  53. #include "spdefs.h"
  54. #include "keyexch.h"
  55. #include <certmap.h>
  56. #include "cred.h"
  57. #include "sigsys.h"
  58. #include "protocol.h"
  59. #include "specmap.h"
  60. #include "cache.h"
  61. #include "context.h"
  62. #include "cert.h"
  63. #include "defcreds.h"
  64. #include "protos.h"
  65. #include "rng.h"
  66. #include "callback.h"
  67. #include "events.h"
  68. #include "encode.h"
  69. #include <ssl2msg.h>
  70. #include <pct1msg.h>
  71. #include <ssl3msg.h>
  72. #include <ssl3key.h>
  73. #include <tls1key.h>
  74. #include <pct1prot.h>
  75. #include <ssl2prot.h>
  76. #include <sha.h>
  77. #include <md2.h>
  78. #include <rc2.h>
  79. #include <rc4.h>
  80. extern PLSA_SECPKG_FUNCTION_TABLE LsaTable;
  81. #define PCT_INVALID_MAGIC *(DWORD *)"eerF"
  82. #if DBG
  83. void SPAssert(
  84. void *FailedAssertion,
  85. void *FileName,
  86. unsigned long LineNumber,
  87. char * Message);
  88. #define SP_ASSERT(x) \
  89. if (!(x)) \
  90. SPAssert(#x, __FILE__, __LINE__, NULL); else
  91. #else // DBG
  92. #define SP_ASSERT(x)
  93. #endif // DBG
  94. #ifdef __cplusplus
  95. }
  96. #endif
  97. #pragma hdrstop