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.

55 lines
1.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. // File: userctxt.h
  7. //
  8. // Contents:
  9. //
  10. // Classes:
  11. //
  12. // Functions:
  13. //
  14. // History: 10-10-96 RichardW Created
  15. //
  16. //----------------------------------------------------------------------------
  17. #ifndef __USERCTXT_H__
  18. #define __USERCTXT_H__
  19. typedef struct _SSL_USER_CONTEXT {
  20. LIST_ENTRY List ;
  21. LSA_SEC_HANDLE LsaHandle;
  22. ULONG Align;
  23. PSPContext pContext;
  24. } SSL_USER_CONTEXT, * PSSL_USER_CONTEXT ;
  25. BOOL
  26. SslInitContextManager(
  27. VOID
  28. );
  29. SECURITY_STATUS
  30. SslAddUserContext(
  31. IN LSA_SEC_HANDLE LsaHandle,
  32. IN HANDLE Token, // optional
  33. IN PSecBuffer ContextData,
  34. IN BOOL fImportedContext);
  35. PSSL_USER_CONTEXT
  36. SslFindUserContext(
  37. IN LSA_SEC_HANDLE LsaHandle
  38. );
  39. PSSL_USER_CONTEXT
  40. SslFindUserContextEx(
  41. IN PCRED_THUMBPRINT pThumbprint
  42. );
  43. VOID
  44. SslDeleteUserContext(
  45. IN LSA_SEC_HANDLE LsaHandle
  46. );
  47. #endif