ReactOS 0.4.17-dev-970-gcf0f1a6
mgmtapi.h File Reference
#include <snmp.h>
Include dependency graph for mgmtapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SNMP_MGMTAPI_TIMEOUT   40
 
#define SNMP_MGMTAPI_SELECT_FDERRORS   41
 
#define SNMP_MGMTAPI_TRAP_ERRORS   42
 
#define SNMP_MGMTAPI_TRAP_DUPINIT   43
 
#define SNMP_MGMTAPI_NOTRAPS   44
 
#define SNMP_MGMTAPI_AGAIN   45
 
#define SNMP_MGMTAPI_INVALID_CTL   46
 
#define SNMP_MGMTAPI_INVALID_SESSION   47
 
#define SNMP_MGMTAPI_INVALID_BUFFER   48
 
#define MGMCTL_SETAGENTPORT   1
 

Typedefs

typedef PVOID LPSNMP_MGR_SESSION
 

Functions

BOOL WINSNMPAPI SnmpMgrClose (LPSNMP_MGR_SESSION)
 
BOOL WINSNMPAPI SnmpMgrCtl (LPSNMP_MGR_SESSION, DWORD, LPVOID, DWORD, LPVOID, DWORD, LPDWORD)
 
BOOL WINSNMPAPI SnmpMgrGetTrap (AsnObjectIdentifier *, AsnNetworkAddress *, AsnInteger *, AsnInteger *, AsnTimeticks *, SnmpVarBindList *)
 
BOOL WINSNMPAPI SnmpMgrGetTrapEx (AsnObjectIdentifier *, AsnNetworkAddress *, AsnNetworkAddress *, AsnInteger *, AsnInteger *, AsnOctetString *, AsnTimeticks *, SnmpVarBindList *)
 
BOOL WINSNMPAPI SnmpMgrOidToStr (AsnObjectIdentifier *, LPSTR *)
 
LPSNMP_MGR_SESSION WINSNMPAPI SnmpMgrOpen (LPSTR, LPSTR, INT, INT)
 
INT WINSNMPAPI SnmpMgrRequest (LPSNMP_MGR_SESSION, BYTE, SnmpVarBindList *, AsnInteger *, AsnInteger *)
 
BOOL WINSNMPAPI SnmpMgrStrToOid (LPSTR, AsnObjectIdentifier *)
 
BOOL WINSNMPAPI SnmpMgrTrapListen (HANDLE *)
 

Macro Definition Documentation

◆ MGMCTL_SETAGENTPORT

#define MGMCTL_SETAGENTPORT   1

Definition at line 34 of file mgmtapi.h.

◆ SNMP_MGMTAPI_AGAIN

#define SNMP_MGMTAPI_AGAIN   45

Definition at line 30 of file mgmtapi.h.

◆ SNMP_MGMTAPI_INVALID_BUFFER

#define SNMP_MGMTAPI_INVALID_BUFFER   48

Definition at line 33 of file mgmtapi.h.

◆ SNMP_MGMTAPI_INVALID_CTL

#define SNMP_MGMTAPI_INVALID_CTL   46

Definition at line 31 of file mgmtapi.h.

◆ SNMP_MGMTAPI_INVALID_SESSION

#define SNMP_MGMTAPI_INVALID_SESSION   47

Definition at line 32 of file mgmtapi.h.

◆ SNMP_MGMTAPI_NOTRAPS

#define SNMP_MGMTAPI_NOTRAPS   44

Definition at line 29 of file mgmtapi.h.

◆ SNMP_MGMTAPI_SELECT_FDERRORS

#define SNMP_MGMTAPI_SELECT_FDERRORS   41

Definition at line 26 of file mgmtapi.h.

◆ SNMP_MGMTAPI_TIMEOUT

#define SNMP_MGMTAPI_TIMEOUT   40

Definition at line 25 of file mgmtapi.h.

◆ SNMP_MGMTAPI_TRAP_DUPINIT

#define SNMP_MGMTAPI_TRAP_DUPINIT   43

Definition at line 28 of file mgmtapi.h.

◆ SNMP_MGMTAPI_TRAP_ERRORS

#define SNMP_MGMTAPI_TRAP_ERRORS   42

Definition at line 27 of file mgmtapi.h.

Typedef Documentation

◆ LPSNMP_MGR_SESSION

Definition at line 38 of file mgmtapi.h.

Function Documentation

◆ SnmpMgrClose()

BOOL WINSNMPAPI SnmpMgrClose ( LPSNMP_MGR_SESSION  )

◆ SnmpMgrCtl()

BOOL WINSNMPAPI SnmpMgrCtl ( LPSNMP_MGR_SESSION  ,
DWORD  ,
LPVOID  ,
DWORD  ,
LPVOID  ,
DWORD  ,
LPDWORD   
)

◆ SnmpMgrGetTrap()

BOOL WINSNMPAPI SnmpMgrGetTrap ( AsnObjectIdentifier *  ,
AsnNetworkAddress *  ,
AsnInteger *  ,
AsnInteger *  ,
AsnTimeticks *  ,
SnmpVarBindList *   
)

◆ SnmpMgrGetTrapEx()

BOOL WINSNMPAPI SnmpMgrGetTrapEx ( AsnObjectIdentifier *  ,
AsnNetworkAddress *  ,
AsnNetworkAddress *  ,
AsnInteger *  ,
AsnInteger *  ,
AsnOctetString *  ,
AsnTimeticks *  ,
SnmpVarBindList *   
)

◆ SnmpMgrOidToStr()

BOOL WINSNMPAPI SnmpMgrOidToStr ( AsnObjectIdentifier *  ,
LPSTR *   
)

◆ SnmpMgrOpen()

LPSNMP_MGR_SESSION WINSNMPAPI SnmpMgrOpen ( LPSTR  ,
LPSTR  ,
INT  ,
INT   
)

◆ SnmpMgrRequest()

INT WINSNMPAPI SnmpMgrRequest ( LPSNMP_MGR_SESSION  ,
BYTE  ,
SnmpVarBindList *  ,
AsnInteger *  ,
AsnInteger *   
)

◆ SnmpMgrStrToOid()

BOOL WINSNMPAPI SnmpMgrStrToOid ( LPSTR  ,
AsnObjectIdentifier *   
)

◆ SnmpMgrTrapListen()

BOOL WINSNMPAPI SnmpMgrTrapListen ( HANDLE *  available)

Definition at line 38 of file mgmtapi.c.

39{
40 FIXME("stub: %p\n", available);
42 return FALSE;
43}
#define FIXME(fmt,...)
Definition: precomp.h:53
#define FALSE
Definition: types.h:117
static WCHAR available[MAX_STRING_RESOURCE_LEN]
Definition: object.c:2402
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define SetLastError(x)
Definition: compat.h:752