Re: iterating through tables

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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 (shown below).

Just return NULL.
You don't need to touch the index_data pointer.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.