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.

83 lines
1.9 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1996 - 1999
  6. //
  7. // File: global.h
  8. //
  9. // Contents: Top level internal header file for WinCrmsg APIs. This file
  10. // includes all base header files and contains other global
  11. // stuff.
  12. //
  13. // History: 16-Apr-96 kevinr created
  14. //
  15. //--------------------------------------------------------------------------
  16. // #define OSS_CRYPT_ASN1 1
  17. // #define DEBUG_CRYPT_ASN1 1
  18. // #define DEBUG_CRYPT_ASN1_MASTER 1
  19. #define CMS_PKCS7 1
  20. #ifdef CMS_PKCS7
  21. #define CMSG_SIGNER_ENCODE_INFO_HAS_CMS_FIELDS 1
  22. #define CMSG_SIGNED_ENCODE_INFO_HAS_CMS_FIELDS 1
  23. #define CMSG_ENVELOPED_ENCODE_INFO_HAS_CMS_FIELDS 1
  24. #endif // CMS_PKCS7
  25. #pragma warning(push,3)
  26. #include <windows.h>
  27. #include <assert.h>
  28. #include <malloc.h>
  29. #include <memory.h>
  30. #include <stdio.h>
  31. #include <stdlib.h>
  32. #include <stddef.h>
  33. #include <string.h>
  34. #include <time.h>
  35. #pragma warning (pop)
  36. // unreferenced inline function has been removed
  37. #pragma warning (disable: 4514)
  38. // unreferenced formal parameter
  39. #pragma warning (disable: 4100)
  40. // conditional expression is constant
  41. #pragma warning (disable: 4127)
  42. // assignment within conditional expression
  43. #pragma warning (disable: 4706)
  44. // nonstandard extension used : nameless struct/union
  45. #pragma warning (disable: 4201)
  46. #include <crtem.h>
  47. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50. #include "pkcs.h"
  51. #ifdef __cplusplus
  52. } // Balance extern "C" above
  53. #endif
  54. #include "msgasn1.h"
  55. #include <asn1util.h>
  56. #include <pkiasn1.h>
  57. #include <pkicrit.h>
  58. #include <crypttls.h>
  59. #include <wincrypt.h>
  60. #include <crypthlp.h>
  61. #include <list.hxx>
  62. #include <crmsgp.h>
  63. #include <dbgdef.h>
  64. #pragma hdrstop