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.

145 lines
2.9 KiB

  1. typedef struct _iniMMauthmethods {
  2. GUID gMMAuthID;
  3. DWORD dwFlags;
  4. DWORD cRef;
  5. DWORD dwSource;
  6. DWORD dwNumAuthInfos;
  7. PINT_IPSEC_MM_AUTH_INFO pAuthenticationInfo;
  8. struct _iniMMauthmethods * pNext;
  9. } INIMMAUTHMETHODS, * PINIMMAUTHMETHODS;
  10. DWORD
  11. IntValidateMMAuthMethods(
  12. PINT_MM_AUTH_METHODS pMMAuthMethods
  13. );
  14. PINIMMAUTHMETHODS
  15. FindMMAuthMethods(
  16. PINIMMAUTHMETHODS pIniMMAuthMethods,
  17. GUID gMMAuthID
  18. );
  19. DWORD
  20. CreateIniMMAuthMethods(
  21. PINT_MM_AUTH_METHODS pMMAuthMethods,
  22. PINIMMAUTHMETHODS * ppIniMMAuthMethods
  23. );
  24. DWORD
  25. CreateIniMMAuthInfos(
  26. DWORD dwInNumAuthInfos,
  27. PINT_IPSEC_MM_AUTH_INFO pInAuthenticationInfo,
  28. PDWORD pdwNumAuthInfos,
  29. PINT_IPSEC_MM_AUTH_INFO * ppAuthenticationInfo
  30. );
  31. VOID
  32. FreeIniMMAuthMethods(
  33. PINIMMAUTHMETHODS pIniMMAuthMethods
  34. );
  35. VOID
  36. FreeIniMMAuthInfos(
  37. DWORD dwNumAuthInfos,
  38. PINT_IPSEC_MM_AUTH_INFO pAuthenticationInfo
  39. );
  40. DWORD
  41. DeleteIniMMAuthMethods(
  42. PINIMMAUTHMETHODS pIniMMAuthMethods
  43. );
  44. DWORD
  45. SetIniMMAuthMethods(
  46. PINIMMAUTHMETHODS pIniMMAuthMethods,
  47. PINT_MM_AUTH_METHODS pMMAuthMethods
  48. );
  49. DWORD
  50. GetIniMMAuthMethods(
  51. PINIMMAUTHMETHODS pIniMMAuthMethods,
  52. PINT_MM_AUTH_METHODS * ppMMAuthMethods
  53. );
  54. DWORD
  55. CopyMMAuthMethods(
  56. PINIMMAUTHMETHODS pIniMMAuthMethods,
  57. PINT_MM_AUTH_METHODS pMMAuthMethods
  58. );
  59. DWORD
  60. CreateMMAuthInfos(
  61. DWORD dwInNumAuthInfos,
  62. PINT_IPSEC_MM_AUTH_INFO pInAuthenticationInfo,
  63. PDWORD pdwNumAuthInfos,
  64. PINT_IPSEC_MM_AUTH_INFO * ppAuthenticationInfo
  65. );
  66. VOID
  67. FreeMMAuthInfos(
  68. DWORD dwNumAuthInfos,
  69. PINT_IPSEC_MM_AUTH_INFO pAuthenticationInfo
  70. );
  71. VOID
  72. FreeIniMMAuthMethodsList(
  73. PINIMMAUTHMETHODS pIniMMAuthMethodsList
  74. );
  75. VOID
  76. FreeMMAuthMethods(
  77. DWORD dwNumAuthMethods,
  78. PINT_MM_AUTH_METHODS pMMAuthMethods
  79. );
  80. DWORD
  81. LocateMMAuthMethods(
  82. PMM_FILTER pMMFilter,
  83. PINIMMAUTHMETHODS * ppIniMMAuthMethods
  84. );
  85. DWORD
  86. IntAddMMAuthMethods(
  87. LPWSTR pServerName,
  88. DWORD dwVersion,
  89. DWORD dwFlags,
  90. DWORD dwSource,
  91. PINT_MM_AUTH_METHODS pMMAuthMethods,
  92. LPVOID pvReserved
  93. );
  94. DWORD
  95. IntEnumMMAuthMethods(
  96. LPWSTR pServerName,
  97. DWORD dwVersion,
  98. PINT_MM_AUTH_METHODS pMMTemplateAuthMethods,
  99. DWORD dwFlags,
  100. DWORD dwPreferredNumEntries,
  101. PINT_MM_AUTH_METHODS * ppMMAuthMethods,
  102. LPDWORD pdwNumAuthMethods,
  103. LPDWORD pdwResumeHandle,
  104. LPVOID pvReserved
  105. );
  106. DWORD
  107. IntSetMMAuthMethods(
  108. LPWSTR pServerName,
  109. DWORD dwVersion,
  110. GUID gMMAuthID,
  111. PINT_MM_AUTH_METHODS pMMAuthMethods,
  112. LPVOID pvReserved
  113. );
  114. DWORD
  115. IntGetMMAuthMethods(
  116. LPWSTR pServerName,
  117. DWORD dwVersion,
  118. GUID gMMAuthID,
  119. PINT_MM_AUTH_METHODS * ppMMAuthMethods,
  120. LPVOID pvReserved
  121. );