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.

149 lines
2.4 KiB

  1. typedef struct _iniqmpolicy {
  2. GUID gPolicyID;
  3. LPWSTR pszPolicyName;
  4. DWORD cRef;
  5. DWORD dwSource;
  6. DWORD dwFlags;
  7. DWORD dwReserved;
  8. DWORD dwOfferCount;
  9. PIPSEC_QM_OFFER pOffers;
  10. struct _iniqmpolicy * pNext;
  11. } INIQMPOLICY, * PINIQMPOLICY;
  12. DWORD
  13. AddQMPolicyInternal(
  14. LPWSTR pServerName,
  15. DWORD dwVersion,
  16. DWORD dwFlags,
  17. DWORD dwSource,
  18. PIPSEC_QM_POLICY pQMPolicy,
  19. LPVOID pvReserved
  20. );
  21. DWORD
  22. CreateIniQMPolicy(
  23. PIPSEC_QM_POLICY pQMPolicy,
  24. PINIQMPOLICY * ppIniQMPolicy
  25. );
  26. DWORD
  27. ValidateQMPolicy(
  28. PIPSEC_QM_POLICY pQMPolicy
  29. );
  30. DWORD
  31. ValidateQMOffers(
  32. DWORD dwOfferCount,
  33. PIPSEC_QM_OFFER pOffers
  34. );
  35. DWORD
  36. ValidateQMOffer(
  37. PIPSEC_QM_OFFER pOffer,
  38. BOOL *pbInitGroup,
  39. LPDWORD pdwPFSGroup
  40. );
  41. PINIQMPOLICY
  42. FindQMPolicy(
  43. PINIQMPOLICY pIniQMPolicyList,
  44. LPWSTR pszPolicyName
  45. );
  46. VOID
  47. FreeIniQMPolicy(
  48. PINIQMPOLICY pIniQMPolicy
  49. );
  50. VOID
  51. FreeIniQMOffers(
  52. DWORD dwOfferCount,
  53. PIPSEC_QM_OFFER pOffers
  54. );
  55. DWORD
  56. CreateIniQMOffers(
  57. DWORD dwInOfferCount,
  58. PIPSEC_QM_OFFER pInOffers,
  59. PDWORD pdwOfferCount,
  60. PIPSEC_QM_OFFER * ppOffers
  61. );
  62. DWORD
  63. SetIniQMPolicy(
  64. PINIQMPOLICY pIniQMPolicy,
  65. PIPSEC_QM_POLICY pQMPolicy
  66. );
  67. DWORD
  68. GetIniQMPolicy(
  69. DWORD dwFlags,
  70. PINIQMPOLICY pIniQMPolicy,
  71. PIPSEC_QM_POLICY * ppQMPolicy
  72. );
  73. DWORD
  74. CopyQMPolicy(
  75. DWORD dwFlags,
  76. PINIQMPOLICY pIniQMPolicy,
  77. PIPSEC_QM_POLICY pQMPolicy
  78. );
  79. DWORD
  80. CreateQMOffers(
  81. DWORD dwInOfferCount,
  82. PIPSEC_QM_OFFER pInOffers,
  83. PDWORD pdwOfferCount,
  84. PIPSEC_QM_OFFER * ppOffers
  85. );
  86. DWORD
  87. DeleteIniQMPolicy(
  88. PINIQMPOLICY pIniQMPolicy
  89. );
  90. VOID
  91. FreeQMOffers(
  92. DWORD dwOfferCount,
  93. PIPSEC_QM_OFFER pOffers
  94. );
  95. VOID
  96. FreeIniQMPolicyList(
  97. PINIQMPOLICY pIniQMPolicyList
  98. );
  99. PINIQMPOLICY
  100. FindQMPolicyByGuid(
  101. PINIQMPOLICY pIniQMPolicyList,
  102. GUID gPolicyID
  103. );
  104. VOID
  105. FreeQMPolicies(
  106. DWORD dwNumQMPolicies,
  107. PIPSEC_QM_POLICY pQMPolicies
  108. );
  109. DWORD
  110. LocateQMPolicy(
  111. DWORD dwFlags,
  112. GUID gPolicyID,
  113. PINIQMPOLICY * ppIniQMPolicy
  114. );
  115. DWORD
  116. CreateNonAHQMOffers(
  117. DWORD dwInOfferCount,
  118. PIPSEC_QM_OFFER pInOffers,
  119. PDWORD pdwOfferCount,
  120. PIPSEC_QM_OFFER * ppOffers
  121. );
  122. BOOL
  123. IsAHQMOffer(
  124. PIPSEC_QM_OFFER pIpsecQMOffer
  125. );