I am trying to store values in a table using mib2c.iterator.conf. It worked fine with a few tables but when i use lengthy computations while filling the data structures i get the "broken pipe" error and my subagent crashes. I am guessing that this is because of the large number of calls. my data is already sorted in the data structure. I also tried using the
netsnmp_iterator_info *iinfo = SNMP_MALLOC_TYPEDEF(netsnmp_iterator_info);
iinfo->flags |= NETSNMP_ITERATOR_FLAG_SORTED;
netsnmp_register_table_iterator( reg, iinfo );
but when i compile the code using net-snmp-config --compile-subagent abc nvabc.c i get the error "NETSNMP_ITERATOR_FLAG_SORTED" undeclared.
so where can i set this flag. Please tell me a way to reduce the function calls or let me know if there is something else wrong. i am using net-snmp-5.0.6 on redhat linux 9.
thanks
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail
------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
