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.

89 lines
1.4 KiB

  1. typedef struct _mmauthstate {
  2. GUID gMMAuthID;
  3. BOOL bInSPD;
  4. DWORD dwErrorCode;
  5. struct _mmauthstate * pNext;
  6. } MMAUTHSTATE, * PMMAUTHSTATE;
  7. DWORD
  8. PAAddMMAuthMethods(
  9. PIPSEC_NFA_DATA * ppIpsecNFAData,
  10. DWORD dwNumNFACount,
  11. DWORD dwSource
  12. );
  13. DWORD
  14. PACreateMMAuthState(
  15. PIPSEC_NFA_DATA pIpsecNFAData,
  16. PMMAUTHSTATE * ppMMAuthState
  17. );
  18. DWORD
  19. PACreateMMAuthMethods(
  20. PIPSEC_NFA_DATA pIpsecNFAData,
  21. PINT_MM_AUTH_METHODS * ppSPDMMAuthMethods
  22. );
  23. DWORD
  24. PACreateMMAuthInfos(
  25. DWORD dwAuthMethodCount,
  26. PIPSEC_AUTH_METHOD * ppAuthMethods,
  27. PDWORD pdwNumAuthInfos,
  28. PINT_IPSEC_MM_AUTH_INFO * ppAuthenticationInfo
  29. );
  30. VOID
  31. PAFreeMMAuthMethods(
  32. PINT_MM_AUTH_METHODS pSPDMMAuthMethods
  33. );
  34. VOID
  35. PAFreeMMAuthInfos(
  36. DWORD dwNumAuthInfos,
  37. PINT_IPSEC_MM_AUTH_INFO pAuthenticationInfo
  38. );
  39. DWORD
  40. PADeleteAllMMAuthMethods(
  41. );
  42. VOID
  43. PAFreeMMAuthStateList(
  44. PMMAUTHSTATE pMMAuthState
  45. );
  46. PMMAUTHSTATE
  47. FindMMAuthState(
  48. GUID gMMAuthID
  49. );
  50. DWORD
  51. PADeleteMMAuthMethods(
  52. PIPSEC_NFA_DATA * ppIpsecNFAData,
  53. DWORD dwNumNFACount
  54. );
  55. DWORD
  56. PADeleteMMAuthMethod(
  57. GUID gMMAuthID
  58. );
  59. VOID
  60. PADeleteMMAuthState(
  61. PMMAUTHSTATE pMMAuthState
  62. );
  63. DWORD
  64. PADeleteInUseMMAuthMethods(
  65. );
  66. DWORD
  67. EncodeName(
  68. LPWSTR pszSubjectName,
  69. PBYTE * ppEncodedName,
  70. PDWORD pdwEncodedLength
  71. );