> I'm not updating loop_context.

Then that's why you're going into an infinite loop.

The 'loop_context' parameter is how the iterator code
keeps track of how far it's got through the table.
If you don't update this value, it can't possibly
walk the table.

> This is my code.

>    *my_loop_context =3D NULL /* XXX */;
>    *my_data_context =3D NULL /* XXX */;

So you're not updating the data context pointer either?
That's how the handler routine knows which row it should
be working with.

I *strongly* suggest you check the documentation for a
description of how this particular helper works.
If you don't provide the information that it relies on,
then it's not surprising if it doesn't work!  :-)

Dave


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to