home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / security.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  2KB  |  94 lines

  1. //+-----------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (c) Microsoft Corporation 1991 - 1992
  6. //
  7. // File:        Security.h
  8. //
  9. // Contents:    Toplevel include file for security aware components
  10. //
  11. //
  12. // History:     06 Aug 92   RichardW    Created
  13. //              23 Sep 92   PeterWi     Add security object include files
  14. //
  15. //------------------------------------------------------------------------
  16.  
  17.  
  18. // This file will go out and pull in all the header files that you need,
  19. // based on defines that you issue.  The following macros are used.
  20.  
  21. // NOTE:  Update this section if you add new files:
  22. //
  23. // SECURITY_KERNEL      Use the kernel interface, not the usermode
  24. // SECURITY_PACKAGE     Include defines necessary for security packages
  25. // SECURITY_KERBEROS    Include everything needed to talk to the kerberos pkg.
  26. // SECURITY_NTLM        Include everything to talk to ntlm package.
  27. // SECURITY_OBJECTS     Include all Security Admin Object definitions.
  28.  
  29. //
  30. // Each of the files included here are surrounded by guards, so you don't
  31. // need to worry about including this file multiple times with different
  32. // flags defined
  33. //
  34.  
  35. #ifdef __cplusplus
  36. extern "C"
  37. {
  38. #endif
  39.  
  40. #ifndef SSPI_PROXY_CLASS
  41. #define SSPI_PROXY_CLASS    PROXY_CLASS
  42. #endif
  43.  
  44. #include <sspi.h>
  45.  
  46. #if defined(SECURITY_WIN32) || defined(SECURITY_KERNEL)
  47. #include <secext.h>
  48. #endif
  49.  
  50. //
  51. // Include the error codes:
  52. //
  53.  
  54. #if ISSP_LEVEL == 32
  55. #include <issperr.h>
  56. #endif
  57.  
  58. #if ISSP_LEVEL == 16
  59. #include <issper16.h>
  60. #endif
  61.  
  62.  
  63.  
  64. // Include security package headers:
  65.  
  66. #ifdef SECURITY_PACKAGE
  67.  
  68. #include <secpkg.h>
  69.  
  70. #endif  // SECURITY_PACKAGE
  71.  
  72.  
  73. #ifdef SECURITY_KERBEROS
  74.  
  75. #include <kerbcon.h>
  76. #include <kerberos.h>
  77.  
  78. #endif
  79.  
  80. #ifdef SECURITY_NTLM
  81.  
  82. #include <ntlmsp.h>
  83.  
  84. #endif // SECURITY_NTLM
  85.  
  86.  
  87. // Include security object definitions
  88.  
  89.  
  90. #ifdef __cplusplus
  91. }
  92. #endif
  93.  
  94.