An implementation of the Simple Network Management Protocol (RFC 3411-3418)
snmp_mib_resource_handler_t handler
The function handler that is called for this resource.
snmp_mib_resource_t * snmp_mib_find_next(uint32_t *oid)
Finds the next MIB Resource after this OID.
struct snmp_mib_resource_s * next
A pointer to the next element in the linked list.
void(* snmp_mib_resource_handler_t)(snmp_varbind_t *varbind, uint32_t *oid)
The MIB resource handler typedef.
void snmp_mib_init(void)
Initialize the MIB resources list.
snmp_mib_resource_t * snmp_mib_find(uint32_t *oid)
Finds the MIB Resource for this OID.
uint32_t * oid
A array that represents the OID.
void snmp_mib_add(snmp_mib_resource_t *resource)
Adds a resource into the linked list.
struct snmp_mib_resource_s snmp_mib_resource_t
The MIB Resource struct.