SNMP frontend: Changed yang2xpath to us string, traverse only datanodes
This commit is contained in:
parent
7b2eee0158
commit
0cf87c75a9
3 changed files with 63 additions and 40 deletions
|
|
@ -49,7 +49,7 @@ int yang2snmp_types(yang_stmt *ys, int *asn1_type, enum cv_type *cvtype);
|
|||
int type_yang2snmp(char *valstr, enum cv_type cvtype,
|
||||
netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests,
|
||||
u_char **snmpval, size_t *snmplen);
|
||||
int yang2xpath(yang_stmt *ys, cbuf *cb);
|
||||
int yang2xpath(yang_stmt *ys, char **xpath);
|
||||
|
||||
#endif /* _SNMP_LIB_H_ */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue