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.

127 lines
2.6 KiB

  1. typedef struct _spec_buffer{
  2. DWORD dwSize;
  3. LPBYTE pMem;
  4. } SPEC_BUFFER, *PSPEC_BUFFER;
  5. void
  6. FreeRsopInfo(
  7. PRSOP_INFO pRsopInfo
  8. );
  9. DWORD
  10. ProcessNFAs(
  11. PIPSEC_POLICY_OBJECT pIpsecPolicyObject,
  12. DWORD dwStoreType,
  13. PDWORD pdwSlientErrorCode,
  14. PIPSEC_POLICY_DATA * ppIpsecPolicyData
  15. );
  16. DWORD
  17. ProcessNFA(
  18. PIPSEC_NFA_OBJECT pIpsecNFAObject,
  19. DWORD dwStoreType,
  20. PIPSEC_FILTER_OBJECT * ppIpsecFilterObjects,
  21. DWORD dwNumFilterObjects,
  22. PIPSEC_NEGPOL_OBJECT * ppIpsecNegPolObjects,
  23. DWORD dwNumNegPolObjects,
  24. PIPSEC_NFA_DATA * ppIpsecNFAData
  25. );
  26. DWORD
  27. UnmarshallPolicyObject(
  28. PIPSEC_POLICY_OBJECT pIpsecPolicyObject,
  29. DWORD dwStoreType,
  30. PIPSEC_POLICY_DATA * ppIpsecPolicyData
  31. );
  32. DWORD
  33. UnmarshallNFAObject(
  34. PIPSEC_NFA_OBJECT pIpsecNFAObject,
  35. DWORD dwStoreType,
  36. PIPSEC_NFA_DATA * ppIpsecNFAData
  37. );
  38. DWORD
  39. UnmarshallFilterObject(
  40. PIPSEC_FILTER_OBJECT pIpsecFilterObject,
  41. PIPSEC_FILTER_DATA * ppIpsecFilterData
  42. );
  43. DWORD
  44. UnmarshallNegPolObject(
  45. PIPSEC_NEGPOL_OBJECT pIpsecNegPolObject,
  46. PIPSEC_NEGPOL_DATA * ppIpsecNegPolData
  47. );
  48. DWORD
  49. UnmarshallISAKMPObject(
  50. PIPSEC_ISAKMP_OBJECT pIpsecISAKMPObject,
  51. PIPSEC_ISAKMP_DATA * ppIpsecISAKMPData
  52. );
  53. DWORD
  54. FindIpsecFilterObject(
  55. PIPSEC_NFA_OBJECT pIpsecNFAObject,
  56. PIPSEC_FILTER_OBJECT * ppIpsecFilterObjects,
  57. DWORD dwNumFilterObjects,
  58. PIPSEC_FILTER_OBJECT * ppIpsecFilterObject
  59. );
  60. DWORD
  61. FindIpsecNegPolObject(
  62. PIPSEC_NFA_OBJECT pIpsecNFAObject,
  63. PIPSEC_NEGPOL_OBJECT * ppIpsecNegPolObjects,
  64. DWORD dwNumNegPolObjects,
  65. PIPSEC_NEGPOL_OBJECT * ppIpsecNegPolObject
  66. );
  67. DWORD
  68. UnmarshallFilterSpec(
  69. LPBYTE pMem,
  70. PIPSEC_FILTER_SPEC * ppIpsecFilterSpec,
  71. PDWORD pdwNumBytesAdvanced
  72. );
  73. DWORD
  74. UnmarshallAuthMethods(
  75. LPBYTE pMem,
  76. PIPSEC_AUTH_METHOD * ppIpsecAuthMethod,
  77. PDWORD pdwNumBytesAdvanced
  78. );
  79. DWORD
  80. UnmarshallAltAuthMethods(
  81. LPBYTE pMem,
  82. PIPSEC_AUTH_METHOD pIpsecAuthMethod,
  83. PDWORD pdwNumBytesAdvanced
  84. );
  85. DWORD
  86. GenGUIDFromRegFilterReference(
  87. LPWSTR pszIpsecFilterReference,
  88. GUID * FilterIdentifier
  89. );
  90. DWORD
  91. GenGUIDFromRegNegPolReference(
  92. LPWSTR pszIpsecNegPolReference,
  93. GUID * NegPolIdentifier
  94. );
  95. DWORD
  96. GenGUIDFromRegISAKMPReference(
  97. LPWSTR pszIpsecISAKMPReference,
  98. GUID * ISAKMPIdentifier
  99. );
  100. DWORD SetPolstoreFlag(
  101. LPBYTE pCur,
  102. LPBYTE pStart,
  103. DWORD dwLength,
  104. DWORD LastError,
  105. DWORD * pdwFlags
  106. );