Is there any example or description of how handle a group of scalar object with new API ?



You could try using
netsnmp_register_scalar_group


Find an example in files mibII/[icmp|ip|tcp|udp].c
In file mibII/icmp.c in function icmp_handler(...) there is missing '!' in the following line(168):
#ifndef hpux11
if (netsnmp_is_cache_valid(reqinfo)) { <--- should be " if(!netsnmp_is_... "
icmp_load( NULL, NULL ); /* XXX - check for failure */
}
#endif


--
Oleg Ivanov
Zelax Telecom






------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to