snmp_string2oid
if (snmp_string2oid(oidstr, &oid) == -1)
if (snmp_string2oid(buf, &oid1) == -1)
int snmp_string2oid(const char *, struct snmp_oid *);