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.

69 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1992-1997 Microsoft Corporation
  3. Module Name:
  4. trapmgrs.h
  5. Abstract:
  6. Contains definitions for manipulating trap destination structures.
  7. Environment:
  8. User Mode - Win32
  9. Revision History:
  10. 10-Feb-1997 DonRyan
  11. Rewrote to implement SNMPv2 support.
  12. --*/
  13. #ifndef _TRAPMGRS_H_
  14. #define _TRAPMGRS_H_
  15. ///////////////////////////////////////////////////////////////////////////////
  16. // //
  17. // Public definitions //
  18. // //
  19. ///////////////////////////////////////////////////////////////////////////////
  20. typedef struct _TRAP_DESTINATION_LIST_ENTRY {
  21. LIST_ENTRY Link;
  22. LIST_ENTRY Managers;
  23. LPSTR pCommunity;
  24. } TRAP_DESTINATION_LIST_ENTRY, *PTRAP_DESTINATION_LIST_ENTRY;
  25. ///////////////////////////////////////////////////////////////////////////////
  26. // //
  27. // Public prototypes //
  28. // //
  29. ///////////////////////////////////////////////////////////////////////////////
  30. BOOL
  31. AllocTLE(
  32. PTRAP_DESTINATION_LIST_ENTRY * ppTLE,
  33. LPSTR pCommunity
  34. );
  35. BOOL
  36. FreeTLE(
  37. PTRAP_DESTINATION_LIST_ENTRY pTLE
  38. );
  39. BOOL
  40. LoadTrapDestinations(
  41. BOOL bFirstCall
  42. );
  43. BOOL
  44. UnloadTrapDestinations(
  45. );
  46. #endif // _TRAPMGRS_H_