Re: iterating through tables

2007-06-06 Thread Dave Shield
On 06/06/07, Adam Bell <[EMAIL PROTECTED]> wrote: > My question is around what the net-snmp library expects back when the end of > table is found - inside the get_next routine. > It is tolerable to simple return NULL or must the put_index_data pointer > require its fields to be NULL'd out as well (

iterating through tables

2007-06-06 Thread Adam Bell
Hi all, I have been implementing iterate_access style tables for the last couple of week. I coded up the last one today and it is behaving very oddly. I have registered a get_first and get_next routine to iterate through the tables. My question is around what the net-snmp library expects bac