diff --git a/src/include/lwip/snmp_structs.h b/src/include/lwip/snmp_structs.h index 9caf2471..e4e74131 100644 --- a/src/include/lwip/snmp_structs.h +++ b/src/include/lwip/snmp_structs.h @@ -39,6 +39,7 @@ #include "lwip/opt.h" #include "arch/cc.h" +#include "lwip/snmp.h" #if SNMP_PRIVATE_MIB #include "private_mib.h" @@ -184,6 +185,8 @@ void noleafs_get_object_def(u8_t ident_len, s32_t *ident, struct obj_def *od); void noleafs_get_value(struct obj_def *od, u16_t len, void *value); struct mib_node* snmp_search_tree(struct mib_node *node, u8_t ident_len, s32_t *ident, struct obj_def *object_def); +struct mib_node* snmp_expand_tree(struct mib_node *node, u8_t ident_len, s32_t *ident, struct snmp_obj_id *oidret); u8_t snmp_iso_prefix_tst(u8_t ident_len, s32_t *ident); +u8_t snmp_iso_prefix_expand(u8_t ident_len, s32_t *ident, struct snmp_obj_id *oidret); #endif