On Wed, 22 Dec 2004 18:46:24 -0500 Alex wrote:
AK> This is all I do.  Unless the function returns NULL this function is called
AK> forever.  If I return NULL I get a call to get but for the next column in a
AK> table and not for next instance in the same column.

You should set the index and return for *every* row in your table, then return
NULL when no more rows are left. The iterator helper code will handle the
difference between get and get-next for you.

-- 
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
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-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to