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.

117 lines
1.8 KiB

  1. typedef struct _iniqmpolicy {
  2. GUID gPolicyID;
  3. LPWSTR pszPolicyName;
  4. DWORD cRef;
  5. BOOL bIsPersisted;
  6. DWORD dwFlags;
  7. DWORD dwOfferCount;
  8. PIPSEC_QM_OFFER pOffers;
  9. struct _iniqmpolicy * pNext;
  10. } INIQMPOLICY, * PINIQMPOLICY;
  11. DWORD
  12. CreateIniQMPolicy(
  13. PIPSEC_QM_POLICY pQMPolicy,
  14. PINIQMPOLICY * ppIniQMPolicy
  15. );
  16. DWORD
  17. ValidateQMPolicy(
  18. PIPSEC_QM_POLICY pQMPolicy
  19. );
  20. DWORD
  21. ValidateQMOffers(
  22. DWORD dwOfferCount,
  23. PIPSEC_QM_OFFER pOffers
  24. );
  25. PINIQMPOLICY
  26. FindQMPolicy(
  27. PINIQMPOLICY pIniQMPolicyList,
  28. LPWSTR pszPolicyName
  29. );
  30. VOID
  31. FreeIniQMPolicy(
  32. PINIQMPOLICY pIniQMPolicy
  33. );
  34. VOID
  35. FreeIniQMOffers(
  36. DWORD dwOfferCount,
  37. PIPSEC_QM_OFFER pOffers
  38. );
  39. DWORD
  40. CreateIniQMOffers(
  41. DWORD dwInOfferCount,
  42. PIPSEC_QM_OFFER pInOffers,
  43. PDWORD pdwOfferCount,
  44. PIPSEC_QM_OFFER * ppOffers
  45. );
  46. DWORD
  47. SetIniQMPolicy(
  48. PINIQMPOLICY pIniQMPolicy,
  49. PIPSEC_QM_POLICY pQMPolicy
  50. );
  51. DWORD
  52. GetIniQMPolicy(
  53. PINIQMPOLICY pIniQMPolicy,
  54. PIPSEC_QM_POLICY * ppQMPolicy
  55. );
  56. DWORD
  57. CopyQMPolicy(
  58. PINIQMPOLICY pIniQMPolicy,
  59. PIPSEC_QM_POLICY pQMPolicy
  60. );
  61. DWORD
  62. CreateQMOffers(
  63. DWORD dwInOfferCount,
  64. PIPSEC_QM_OFFER pInOffers,
  65. PDWORD pdwOfferCount,
  66. PIPSEC_QM_OFFER * ppOffers
  67. );
  68. DWORD
  69. DeleteIniQMPolicy(
  70. PINIQMPOLICY pIniQMPolicy
  71. );
  72. VOID
  73. FreeQMOffers(
  74. DWORD dwOfferCount,
  75. PIPSEC_QM_OFFER pOffers
  76. );
  77. VOID
  78. FreeIniQMPolicyList(
  79. PINIQMPOLICY pIniQMPolicyList
  80. );
  81. PINIQMPOLICY
  82. FindQMPolicyByGuid(
  83. PINIQMPOLICY pIniQMPolicyList,
  84. GUID gPolicyID
  85. );
  86. VOID
  87. FreeQMPolicies(
  88. DWORD dwNumQMPolicies,
  89. PIPSEC_QM_POLICY pQMPolicies
  90. );
  91. DWORD
  92. LocateQMPolicy(
  93. DWORD dwFlags,
  94. GUID gPolicyID,
  95. PINIQMPOLICY * ppIniQMPolicy
  96. );