FARGOS/VISTA Object Management Environment Core  ..
FARGOS/VISTA Object Management Environment Core Table of Contents
OILsnmp.cpp File Reference
#include <net-snmp/net-snmp-config.h>
#include <net-snmp/session_api.h>
#include <OMEruntime.h>

Macros

#define ARG_IS_INT32(x)   OME_TypeCheck::isHeldBy32BitInteger(x)
 

Typedefs

typedef void * SNMPhandle
 

Functions

unsigned int allocSNMPsession (SNMPhandle handle)
 
struct snmp_session * getSNMPsession (const uint32_t sessionID, const bool deleteToo)
 
void releaseSNMPsession (uint32_t sessionID)
 
int allocNewSNMPsession (OMEthread *, OMEtype &result, const OMEtype &arg1)
 
int releaseSNMPsession (OMEthread *, OMEtype &result, const OMEtype &sessionID)
 
int snmpSend (OMEthread *thread, OMEtype &result, const OMEtype &sessionID, const OMEtype &pdu)
 
int snmpGetResponse (OMEthread *thread, OMEtype &result)
 
int SNMPerror (OMEthread *thread, OMEtype &result)
 

Macro Definition Documentation

◆ ARG_IS_INT32

#define ARG_IS_INT32 (   x)    OME_TypeCheck::isHeldBy32BitInteger(x)

Typedef Documentation

◆ SNMPhandle

typedef void* SNMPhandle

Function Documentation

◆ allocNewSNMPsession()

int allocNewSNMPsession ( OMEthread ,
OMEtype result,
const OMEtype arg1 
)

References allocSNMPsession().

◆ allocSNMPsession()

unsigned int allocSNMPsession ( SNMPhandle  handle)

Referenced by allocNewSNMPsession().

◆ getSNMPsession()

struct snmp_session* getSNMPsession ( const uint32_t  sessionID,
const bool  deleteToo 
)

Referenced by releaseSNMPsession().

◆ releaseSNMPsession() [1/2]

int releaseSNMPsession ( OMEthread ,
OMEtype result,
const OMEtype sessionID 
)

◆ releaseSNMPsession() [2/2]

void releaseSNMPsession ( uint32_t  sessionID)

◆ SNMPerror()

int SNMPerror ( OMEthread thread,
OMEtype result 
)

◆ snmpGetResponse()

int snmpGetResponse ( OMEthread thread,
OMEtype result 
)

◆ snmpSend()

int snmpSend ( OMEthread thread,
OMEtype result,
const OMEtype sessionID,
const OMEtype pdu 
)
Generated: Tue Jul 28 2020 16:03:26
Support Information