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.

115 lines
2.3 KiB

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