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.

95 lines
1.5 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. DWORD dwSource
  13. );
  14. DWORD
  15. PACreateMMPolicyState(
  16. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  17. PMMPOLICYSTATE * ppMMPolicyState
  18. );
  19. VOID
  20. PAFreeMMPolicyState(
  21. PMMPOLICYSTATE pMMPolicyState
  22. );
  23. DWORD
  24. PACreateMMPolicy(
  25. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  26. PMMPOLICYSTATE pMMPolicyState,
  27. PIPSEC_MM_POLICY * ppSPDMMPolicy
  28. );
  29. DWORD
  30. PACreateMMOffers(
  31. DWORD dwNumISAKMPSecurityMethods,
  32. PCRYPTO_BUNDLE pSecurityMethods,
  33. PDWORD pdwOfferCount,
  34. PIPSEC_MM_OFFER * ppOffers
  35. );
  36. VOID
  37. PACopyMMOffer(
  38. PCRYPTO_BUNDLE pBundle,
  39. PIPSEC_MM_OFFER pOffer
  40. );
  41. VOID
  42. PAFreeMMPolicy(
  43. PIPSEC_MM_POLICY pSPDMMPolicy
  44. );
  45. VOID
  46. PAFreeMMOffers(
  47. DWORD dwOfferCount,
  48. PIPSEC_MM_OFFER pOffers
  49. );
  50. DWORD
  51. PADeleteAllMMPolicies(
  52. );
  53. VOID
  54. PAFreeMMPolicyStateList(
  55. PMMPOLICYSTATE pMMPolicyState
  56. );
  57. PMMPOLICYSTATE
  58. FindMMPolicyState(
  59. GUID gPolicyID
  60. );
  61. DWORD
  62. PADeleteMMPolicies(
  63. PIPSEC_ISAKMP_DATA * ppIpsecISAKMPData,
  64. DWORD dwNumPolicies
  65. );
  66. DWORD
  67. PADeleteMMPolicy(
  68. GUID gPolicyID
  69. );
  70. VOID
  71. PADeleteMMPolicyState(
  72. PMMPOLICYSTATE pMMPolicyState
  73. );
  74. DWORD
  75. PADeleteInUseMMPolicies(
  76. );