Home | Documentation | Development | Download
Type | Description |
---|---|
rssnmp_field_t | Meant for the SNMP BER abstraction layer. It's the base in which the core SNMP library is built. |
rssnmp_varbind_t | SNMP variable handling. |
rssnmp_packet_t | Designed to represent any of the SNMP PDUs. |
rssnmp_device_t | Represents a SNMP agent on a remove device. It contains all the information needed to perform a SNMP query to a given device (eg. SNMP version, community, etc.). |
rssnmp_query_t | Is defined by a a device, PDU type and a set of OIDs of interest. It handles single query operations. |
rssnmp_result_t | All query results will be returned as a rssnmp_result_t type variable. |
rssnmp_collector_t | Operates multiple queries at once. |
rssnmp_mib_t | MIB tree frontend |
rssnmp_agent_t | Interfaces with a MIB tree to respond to incoming SNMP queries. |
Most of the RSSNMP variable types have three basic functions: initializers, destructors and print methods.
The initializers have the form rssnmp_<type>_New()
, destructors show up like rssnmp_<type>_Free()
and print methods rssnmp_<type>_Print()
. Note that some types may display more than one of these
functions.
Print methods usually comes in handy for debugging purposes. It has the following form:
void rssnmp_<type>_Print(rssnmp_<type>_t, FILE *, char *offset);
The first argument points to the variable that will be printed, the second argument is a file pointer, and the third is a string that will serve as an offset to every line that will be printed.
Copyright (c) 2011, Alain-Jacques L. de Burlet - All rights reserved.