On 19 October 2011 08:57, Ravi Kumar <[email protected]> wrote:
> Can you please point me the function or code where this conversion is
> happening with respect to netSnmpHostsTable.

This is probably handled within 'netsnmp_table_iterator_helper_handler'
(agent/helpers/table_iterator.c).    That's at the heart of the iterator-based
table implementations.


> what if some one wants to implement his own getnext functionality ?

Then register the table using "netsnmp_register_table"

The point of using one of the various table helpers is to take
advantage of the stuff that's handled automatically.   If you
don't want to do this, then simply don't use one of those
particular helpers.

Dave

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to