On Mon, 10 Oct 2005 13:51:34 +0100 Dave wrote:
DS> What's the interface to this iteration mechanism?
DS> I've had a quick poke through the 'container_binary_array.c'
DS> file, and found mention of various _ba_iterator routines.
DS> But what's the public interface that I should be using?

void *it = CONTAINER_ITERATOR(container);
for (void *data = ITERATOR_FIRST(it); data; data = ITERATOR_NEXT(it))
  ...


-- 
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. 


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to