On 17/09/2007, Ashwin Gokhale <[EMAIL PROTECTED]> wrote:
> I'm using net-snmp5.4.1.... for implementing/supporting
> ..... both tables and scalars,
> ..... I was wondering if it is possible to use the
> same set of iterator (get/get-next) and handler
> functions for multiple OIDs.

The iterator helper is specifically designed to implement a
single MIB table.

  If you've got two linked tables (with the same collection of
rows, etc),  then it *might* be possible to massage the code
to support both of them with the same handler.   But this is
stretching the design of the iterator helper, and I wouldn't
like to promise that it would work.

   If you've got two different tables (with different rows, etc),
then you would need two different implementations to handle
them.   And if you've got scalar objects, then the iterator
handler is completely irrelevant.   It *only* works with tables.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to