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.

92 lines
2.0 KiB

  1. #ifndef OAKDLL_H
  2. #define OAKDLL_H
  3. #ifdef __cplusplus
  4. extern "C"{
  5. #endif
  6. /* Forward Declarations */
  7. /* header files for imported files */
  8. #include "wtypes.h"
  9. #include "ipsec.h"
  10. #include "oakdefs.h"
  11. #include "winipsec.h"
  12. typedef enum _POLICY_GUID_TYPE {
  13. POLICY_GUID_MM = 1,
  14. POLICY_GUID_QM,
  15. POLICY_GUID_AUTH,
  16. POLICY_GUID_MM_FILTER
  17. } POLICY_GUID_TYPE, *PPOLICY_GUID_TYPE;
  18. DWORD WINAPI IKEInit () ;
  19. DWORD WINAPI IKEShutdown () ;
  20. DWORD WINAPI IKEInitiateIKENegotiation(
  21. PIPSEC_QM_FILTER Filter,
  22. DWORD dwClientProcessId,
  23. HANDLE hClientEvent,
  24. DWORD dwFlags,
  25. PHANDLE phNegotiationHandle);
  26. DWORD WINAPI IKEQueryIKENegotiationStatus(
  27. HANDLE hNegotiationHandle,
  28. SA_NEGOTIATION_STATUS_INFO *NegotiationStatus,
  29. DWORD dwFlags);
  30. DWORD WINAPI IKECloseIKENegotiationHandle(
  31. HANDLE hNegotiationHandle);
  32. DWORD WINAPI IKEQueryStatistics(
  33. PIKE_STATISTICS IKEStatistics);
  34. DWORD WINAPI IKEDeleteAssociation(
  35. IPSEC_MM_SA *MMTemplate,
  36. DWORD dwFlags);
  37. DWORD WINAPI IKEQuerySpiChange(
  38. HANDLE hNotifyHandle,
  39. LPDWORD dwListCount,
  40. IPSEC_QM_SA **FilterSpiList);
  41. DWORD WINAPI IKERegisterNotifyClient(
  42. DWORD dwClientProcessId,
  43. HANDLE hClientEvent,
  44. IPSEC_QM_SA QMInfo,
  45. PHANDLE phNotifyHandle);
  46. DWORD WINAPI IKECloseIKENotifyHandle(HANDLE hNotifyHandle);
  47. DWORD WINAPI IKEInterfaceChange();
  48. DWORD WINAPI IKEEnumMMs(IPSEC_MM_SA *MMTemplate,
  49. IPSEC_MM_SA **MMArray,
  50. LPDWORD pdwNumEntries,
  51. LPDWORD pdwTotalMMsAvailable,
  52. LPDWORD pdwEnumHandle,
  53. DWORD dwFlags);
  54. DWORD WINAPI
  55. IKENotifyPolicyChange(GUID *pPolicyGuid, POLICY_GUID_TYPE GuidType);
  56. DWORD WINAPI
  57. IKEAddSAs(
  58. PIPSEC_QM_OFFER pQMOffer,
  59. PIPSEC_QM_FILTER pQMFilter,
  60. HANDLE *hLarvalContext,
  61. DWORD dwInboundKeyMatLen,
  62. BYTE *InboundKeyMat,
  63. DWORD dwOutboundKeyMatLen,
  64. BYTE *OutboundKeyMat,
  65. BYTE *ContextInfo,
  66. DWORD dwFlags
  67. );
  68. #ifdef __cplusplus
  69. }
  70. #endif
  71. #endif