> I'm programming a net-snmp agent.There is some items whose type are > "OCTET STRING".When I want to initiate them,I find that there is only the > int_or_long type initiating funtion such as > "netsnmp_register_int_instance".However,how can I initiate the "OCTET > STRING"?
Yes - the instance family of helpers only support integer-based types. Why not have a look at the scalar helper - that *does* support both integer and string-based objects. Try mib2c -c mib2c.scalar.conf myScalar Dave ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users