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.

66 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1997-2000 Microsoft Corporation
  3. Module Name:
  4. dnssec.h
  5. Abstract:
  6. Domain Name System (DNS) Library
  7. Private security definitions.
  8. These may be able to
  9. Author:
  10. Jim Gilroy (jamesg) November 1997
  11. Revision History:
  12. --*/
  13. #ifndef _DNS_DNSSEC_INCLUDED_
  14. #define _DNS_DNSSEC_INCLUDED_
  15. //
  16. // DEVNOTE: these may be able to be put in local
  17. // I created this file, simply because they we're dumped in with the
  18. // interface definitions, yet there is no dependency on this stuff
  19. // in the interface it is all internal to the security functions.
  20. //
  21. #define SECURITY_WIN32
  22. #include "sspi.h"
  23. #include "issperr.h"
  24. #define SIG_LEN 33
  25. #define NAME_OWNER "Root"
  26. #define SEC_SUCCESS(Status) ((Status) >= 0)
  27. #define PACKAGE_NAME L"negotiate"
  28. #define NT_DLL_NAME "security.dll"
  29. //
  30. // structure storing the state of the authentication sequence
  31. //
  32. typedef struct _AUTH_SEQ
  33. {
  34. BOOL _fNewConversation;
  35. CredHandle _hcred;
  36. BOOL _fHaveCredHandle;
  37. BOOL _fHaveCtxtHandle;
  38. BOOL _fInitialized;
  39. struct _SecHandle _hctxt;
  40. }
  41. AUTH_SEQ, *PAUTH_SEQ;
  42. extern CRITICAL_SECTION g_NodeCS;
  43. extern DWORD g_cbMaxToken;
  44. extern DWORD g_cbMaxSignature;
  45. #endif // _DNS_DNSSEC_INCLUDED_