|
C/C++ Reference
|
The WNMP module class. More...
#include <wnmp.h>

Public Member Functions | |
| WnmpModule (const WnmpField *fields, const WnmpFieldDefinition *definitions, WnmpGetFunc get, WnmpSetFunc set) | |
| Initializes a WNMP module. | |
Public Attributes | |
| struct WnmpModule * | next |
| The next module in the linked list of modules. | |
| const WnmpField * | fields |
| The array of fields. | |
| const WnmpFieldDefinition * | definitions |
| The array of field definitions. | |
| WnmpGetFunc | get |
| The pointer to the get value function. | |
| WnmpSetFunc | set |
| The pointer to the set value function. | |
The WNMP module class.
A WNMP module roughly corresponds to an SNMP MIB, although the correlation does not have to be one-to-one.
The array of field definitions.
This array must be terminated by a field definition having id equal to zero (0). The list of field definitions will only be considered for enumeration and bitset types.
| const WnmpField* WnmpModule::fields |
The array of fields.
This array must be terminated by a field having id equal to zero (0).
The pointer to the get value function.
This is a callback function that returns the current value for a specific field.
The pointer to the set value function.
This is a callback function that modifies the value for a specific field.