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.

59 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1992-1997 Microsoft Corporation
  3. Module Name:
  4. globals.c
  5. Abstract:
  6. Contains global data for SNMP master agent.
  7. Environment:
  8. User Mode - Win32
  9. Revision History:
  10. 10-Feb-1997 DonRyan
  11. Rewrote to implement SNMPv2 support.
  12. --*/
  13. ///////////////////////////////////////////////////////////////////////////////
  14. // //
  15. // Include files //
  16. // //
  17. ///////////////////////////////////////////////////////////////////////////////
  18. #include "globals.h"
  19. ///////////////////////////////////////////////////////////////////////////////
  20. // //
  21. // Global variables //
  22. // //
  23. ///////////////////////////////////////////////////////////////////////////////
  24. DWORD g_dwUpTimeReference = 0;
  25. HANDLE g_hTerminationEvent = NULL;
  26. HANDLE g_hRegistryEvent = NULL;
  27. // notification event for changes in the default parameters registry tree
  28. HANDLE g_hDefaultRegNotifier;
  29. HKEY g_hDefaultKey;
  30. // notification event for changes in the policy parameters registry tree
  31. HANDLE g_hPolicyRegNotifier;
  32. HKEY g_hPolicyKey;
  33. LIST_ENTRY g_Subagents = { NULL };
  34. LIST_ENTRY g_SupportedRegions = { NULL };
  35. LIST_ENTRY g_ValidCommunities = { NULL };
  36. LIST_ENTRY g_TrapDestinations = { NULL };
  37. LIST_ENTRY g_PermittedManagers = { NULL };
  38. LIST_ENTRY g_IncomingTransports = { NULL };
  39. LIST_ENTRY g_OutgoingTransports = { NULL };
  40. CMD_LINE_ARGUMENTS g_CmdLineArguments;