Extension Agents API
Each extension agent must export at least the following three APIs:
- SnmpExtensionInit--extension agent returns OID Namespace supported and address of an event to be signaled by the extension agent when it wishes to transmit a trap.
- SnmpExtensionQuery --extension agent resolves Set/Get/GetNext request associated with the VarBind Passed in by extendible agent.
- SnmpExtensionTrap--returns with formatted Trap PDU to be transmitted.
In addition, the extension agent may support a fourth API, SnmpExtensionInitEx. This API allows a single extension agent to support multiple MIBs or multiple MIB views from a single DLL.