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.

94 lines
1.4 KiB

  1. typedef struct _mmpolicystate {
  2. GUID gPolicyID;
  3. LPWSTR pszPolicyName;
  4. BOOL bInSPD;
  5. DWORD dwErrorCode;
  6. struct _mmpolicystate * pNext;
  7. } MMPOLICYSTATE, * PMMPOLICYSTATE;
  8. DWORD
  9. PAAddMMPolicies(
  10. PIPSEC_ISAKMP_DATA * ppIpsecISAKMPData,
  11. DWORD dwNumPolicies
  12. );
  13. DWORD
  14. PACreateMMPolicyState(
  15. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  16. PMMPOLICYSTATE * ppMMPolicyState
  17. );
  18. VOID
  19. PAFreeMMPolicyState(
  20. PMMPOLICYSTATE pMMPolicyState
  21. );
  22. DWORD
  23. PACreateMMPolicy(
  24. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  25. PMMPOLICYSTATE pMMPolicyState,
  26. PIPSEC_MM_POLICY * ppSPDMMPolicy
  27. );
  28. DWORD
  29. PACreateMMOffers(
  30. DWORD dwNumISAKMPSecurityMethods,
  31. PCRYPTO_BUNDLE pSecurityMethods,
  32. PDWORD pdwOfferCount,
  33. PIPSEC_MM_OFFER * ppOffers
  34. );
  35. VOID
  36. PACopyMMOffer(
  37. PCRYPTO_BUNDLE pBundle,
  38. PIPSEC_MM_OFFER pOffer
  39. );
  40. VOID
  41. PAFreeMMPolicy(
  42. PIPSEC_MM_POLICY pSPDMMPolicy
  43. );
  44. VOID
  45. PAFreeMMOffers(
  46. DWORD dwOfferCount,
  47. PIPSEC_MM_OFFER pOffers
  48. );
  49. DWORD
  50. PADeleteAllMMPolicies(
  51. );
  52. VOID
  53. PAFreeMMPolicyStateList(
  54. PMMPOLICYSTATE pMMPolicyState
  55. );
  56. PMMPOLICYSTATE
  57. FindMMPolicyState(
  58. GUID gPolicyID
  59. );
  60. DWORD
  61. PADeleteMMPolicies(
  62. PIPSEC_ISAKMP_DATA * ppIpsecISAKMPData,
  63. DWORD dwNumPolicies
  64. );
  65. DWORD
  66. PADeleteMMPolicy(
  67. GUID gPolicyID
  68. );
  69. VOID
  70. PADeleteMMPolicyState(
  71. PMMPOLICYSTATE pMMPolicyState
  72. );
  73. DWORD
  74. PADeleteInUseMMPolicies(
  75. );