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.

45 lines
976 B

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. mapctxt.h
  5. Abstract:
  6. Declaration of map context struct
  7. Revision History:
  8. --*/
  9. #ifndef _MAPCTXT_H_
  10. #define _MAPCTXT_H_
  11. //
  12. // Each service must initialize and pass a SERVICE_MAPPING_CONTEXT
  13. // to Initialize() if it wants to do client-cert mapping. This context
  14. // contains a callback that knows how to return the mapper objects
  15. // for a given instance.
  16. //
  17. typedef struct _SERVICE_MAPPING_CONTEXT
  18. {
  19. BOOL (WINAPI * ServerSupportFunction) (
  20. PVOID pInstance,
  21. PVOID pData,
  22. DWORD dwPropId
  23. );
  24. } SERVICE_MAPPING_CONTEXT, *PSERVICE_MAPPING_CONTEXT;
  25. #define SIMSSL_PROPERTY_MTCERT11 1000
  26. #define SIMSSL_PROPERTY_MTCERTW 1001
  27. #define SIMSSL_NOTIFY_MAPPER_CERT11_CHANGED 1002
  28. #define SIMSSL_NOTIFY_MAPPER_CERTW_CHANGED 1003
  29. #define SIMSSL_NOTIFY_MAPPER_SSLKEYS_CHANGED 1004
  30. #define SIMSSL_NOTIFY_MAPPER_CERT11_TOUCHED 1005
  31. #endif // _MAPCTXT_H_