On Fri, 22 Jul 2005 09:47:25 +0100 Dave wrote:
DS> On Thu, 2005-07-21 at 22:20 -0400, Robert Story wrote:
DS> But it's subsequently proved impossible to use this as a straight
DS> replacement.  So you're probably right, and we should drop the
DS> separate index_oid/index_oid_len fields.

OK, will do.

DS> I'm in two minds as to whether the netsnmp_variable_list field
DS> is worth keeping or not....

I'm with you on that one. It is a bit redundant to have both at the same time.
The table helper does the same thing. In both cases, a flag and a union would
have probably been better. The netsnmp_index has the advantage in terms of
speed and searching, but variable list is probably a little easier for the
users to understand.

So maybe remove the variable list, and add an api that lets users pass a their
own varbind, which will be internally converted to a netsnmp_index? And a
corresponding function to convert the netsnmp_indes into a user supplied
varbind?

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
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