windows-nt/Source/XPSP1/NT/net/snmp/newagent/inc/trapmgrs.h
2020-09-26 16:20:57 +08:00

70 lines
1.6 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (c) 1992-1997 Microsoft Corporation
Module Name:
trapmgrs.h
Abstract:
Contains definitions for manipulating trap destination structures.
Environment:
User Mode - Win32
Revision History:
10-Feb-1997 DonRyan
Rewrote to implement SNMPv2 support.
--*/
#ifndef _TRAPMGRS_H_
#define _TRAPMGRS_H_
///////////////////////////////////////////////////////////////////////////////
// //
// Public definitions //
// //
///////////////////////////////////////////////////////////////////////////////
typedef struct _TRAP_DESTINATION_LIST_ENTRY {
LIST_ENTRY Link;
LIST_ENTRY Managers;
LPSTR pCommunity;
} TRAP_DESTINATION_LIST_ENTRY, *PTRAP_DESTINATION_LIST_ENTRY;
///////////////////////////////////////////////////////////////////////////////
// //
// Public prototypes //
// //
///////////////////////////////////////////////////////////////////////////////
BOOL
AllocTLE(
PTRAP_DESTINATION_LIST_ENTRY * ppTLE,
LPSTR pCommunity
);
BOOL
FreeTLE(
PTRAP_DESTINATION_LIST_ENTRY pTLE
);
BOOL
LoadTrapDestinations(
BOOL bFirstCall
);
BOOL
UnloadTrapDestinations(
);
#endif // _TRAPMGRS_H_