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.

210 lines
3.4 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. externs.h
  5. Abstract:
  6. Holds externs for global variables.
  7. Author:
  8. abhisheV 30-September-1999
  9. Environment:
  10. User Level: Win32
  11. Revision History:
  12. --*/
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. extern BOOL gbSPDRPCServerUp;
  17. extern HANDLE ghServiceStopEvent;
  18. extern CRITICAL_SECTION gcServerListenSection;
  19. extern DWORD gdwServersListening;
  20. extern BOOL gbServerListenSection;
  21. extern PIPSEC_INTERFACE gpInterfaceList;
  22. extern BOOL gbwsaStarted;
  23. extern SOCKET gIfChangeEventSocket;
  24. extern HANDLE ghIfChangeEvent;
  25. extern HANDLE ghOverlapEvent;
  26. extern WSAOVERLAPPED gwsaOverlapped;
  27. extern WSADATA gwsaData;
  28. //
  29. // Globals for transport-mode filters - txfilter.c
  30. //
  31. extern PINITXFILTER gpIniTxFilter;
  32. extern PINITXSFILTER gpIniTxSFilter;
  33. extern PTX_FILTER_HANDLE gpTxFilterHandle;
  34. extern CRITICAL_SECTION gcSPDSection;
  35. extern BOOL gbSPDSection;
  36. //
  37. // Globals for quick mode policies - qm-policy.c
  38. //
  39. extern PINIQMPOLICY gpIniQMPolicy;
  40. extern PINIQMPOLICY gpIniDefaultQMPolicy;
  41. //
  42. // Globals for main mode policies - mm-policy.c
  43. //
  44. extern PINIMMPOLICY gpIniMMPolicy;
  45. extern PINIMMPOLICY gpIniDefaultMMPolicy;
  46. //
  47. // Globals for main mode filters - mmfilter.c
  48. //
  49. extern PINIMMFILTER gpIniMMFilter;
  50. extern PINIMMSFILTER gpIniMMSFilter;
  51. extern PMM_FILTER_HANDLE gpMMFilterHandle;
  52. //
  53. // Globals for main mode auth methods - mmauth.c
  54. //
  55. extern PINIMMAUTHMETHODS gpIniMMAuthMethods;
  56. extern PINIMMAUTHMETHODS gpIniDefaultMMAuthMethods;
  57. //
  58. // Policy Agent Store specific globals.
  59. //
  60. extern IPSEC_POLICY_STATE gIpsecPolicyState;
  61. extern PIPSEC_POLICY_STATE gpIpsecPolicyState;
  62. extern DWORD gCurrentPollingInterval;
  63. extern DWORD gDefaultPollingInterval;
  64. extern LPWSTR gpszIpsecDSPolicyKey;
  65. extern LPWSTR gpszIpsecLocalPolicyKey;
  66. extern LPWSTR gpszIpsecCachePolicyKey;
  67. extern LPWSTR gpszDefaultISAKMPPolicyDN;
  68. extern LPWSTR gpszLocPolicyAgent;
  69. extern DWORD gdwDSConnectivityCheck;
  70. extern HANDLE ghNewDSPolicyEvent;
  71. extern HANDLE ghNewLocalPolicyEvent;
  72. extern HANDLE ghForcedPolicyReloadEvent;
  73. extern HANDLE ghPolicyChangeNotifyEvent;
  74. extern BOOL gbLoadedISAKMPDefaults;
  75. //
  76. // PA Store to SPD intergration specific globals.
  77. //
  78. extern PMMPOLICYSTATE gpMMPolicyState;
  79. extern PMMAUTHSTATE gpMMAuthState;
  80. extern PMMFILTERSTATE gpMMFilterState;
  81. extern DWORD gdwMMPolicyCounter;
  82. extern DWORD gdwMMFilterCounter;
  83. extern PQMPOLICYSTATE gpQMPolicyState;
  84. extern DWORD gdwQMPolicyCounter;
  85. extern PTXFILTERSTATE gpTxFilterState;
  86. extern DWORD gdwTxFilterCounter;
  87. //
  88. // Globals for tunnel-mode filters - tnfilter.c
  89. //
  90. extern PINITNFILTER gpIniTnFilter;
  91. extern PINITNSFILTER gpIniTnSFilter;
  92. extern PTN_FILTER_HANDLE gpTnFilterHandle;
  93. extern PTNFILTERSTATE gpTnFilterState;
  94. extern DWORD gdwTnFilterCounter;
  95. extern BOOL gbIsIKEUp;
  96. extern PSECURITY_DESCRIPTOR gpSPDSD;
  97. extern BOOL gbIKENotify;
  98. extern HANDLE ghIPSecDriver;
  99. extern BOOL gbLoadingPersistence;
  100. extern SID gIpsecServerSid;
  101. extern PSID gpIpsecServerSid;
  102. extern CRITICAL_SECTION gcSPDAuditSection;
  103. extern BOOL gbSPDAuditSection;
  104. extern HMODULE ghIpsecServerModule;
  105. extern BOOL gbIsIoctlPended;
  106. extern BOOL gbBackwardSoftSA;
  107. #ifdef __cplusplus
  108. }
  109. #endif