Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

uxsnmp.h File Reference

#include "snmp_pp/reentrant.h"
#include "snmp_pp/target.h"
#include "snmp_pp/oid.h"
#include "snmp_pp/address.h"

Go to the source code of this file.

Compounds

class  Snmp
 SNMP class defintion. More...

struct  Snmp::V3CallBackData
 Internal used callback data structure for async v3 requests. More...


Defines

#define SNMP_PP_WITH_UDPADDR
#define MAXNAME   80
#define MAX_ADDR_LEN   10
#define SNMP_SHUTDOWN_MSG   0x0400+177
#define INVALID_SOCKET   ((SNMPHANDLE)(~0))
#define sNMP_PDU_GET_ASYNC   21
#define sNMP_PDU_GETNEXT_ASYNC   22
#define sNMP_PDU_SET_ASYNC   23
#define sNMP_PDU_GETBULK_ASYNC   24
#define sNMP_PDU_INFORM_ASYNC   25
#define IP_NOTIFY   162
#define IPX_NOTIFY   0x2121

Typedefs

typedef void(* snmp_callback )(int reason, Snmp *session, Pdu &pdu, SnmpTarget &target, void *data)
 Async methods of the class Snmp require the caller to provide a callback address of a function with this typedef.


Define Documentation

#define INVALID_SOCKET   ((SNMPHANDLE)(~0))
 

Definition at line 49 of file uxsnmp.h.

#define IP_NOTIFY   162
 

Definition at line 60 of file uxsnmp.h.

#define IPX_NOTIFY   0x2121
 

Definition at line 61 of file uxsnmp.h.

#define MAX_ADDR_LEN   10
 

Definition at line 46 of file uxsnmp.h.

#define MAXNAME   80
 

Definition at line 45 of file uxsnmp.h.

#define sNMP_PDU_GET_ASYNC   21
 

Definition at line 53 of file uxsnmp.h.

#define sNMP_PDU_GETBULK_ASYNC   24
 

Definition at line 56 of file uxsnmp.h.

#define sNMP_PDU_GETNEXT_ASYNC   22
 

Definition at line 54 of file uxsnmp.h.

#define sNMP_PDU_INFORM_ASYNC   25
 

Definition at line 57 of file uxsnmp.h.

#define sNMP_PDU_SET_ASYNC   23
 

Definition at line 55 of file uxsnmp.h.

#define SNMP_PP_WITH_UDPADDR
 

Definition at line 42 of file uxsnmp.h.

#define SNMP_SHUTDOWN_MSG   0x0400+177
 

Definition at line 47 of file uxsnmp.h.


Typedef Documentation

typedef void(* snmp_callback)(int reason, Snmp *session, Pdu &pdu, SnmpTarget &target, void *data)
 

Async methods of the class Snmp require the caller to provide a callback address of a function with this typedef.

Note:
It is not allowed to call any synchronous Snmp methods within the callback. Async methods are allowed.
Parameters:
reason - Reason for callback (see snmperrs.h)
session - Pointer to Snmp object that was used to send the request
pdu - The received Pdu if reason indicates a received message
target - source target
data - Pointer passed to the async method

Definition at line 84 of file uxsnmp.h.

Referenced by Snmp::get_notify_callback().


Generated on Tue Jan 4 22:42:14 2005 for SNMP++ by doxygen 1.3.2