On Wed, 2 Mar 2005 11:44:28 -0500 Michael wrote: MPS> I'm reading AGENT.txt that came with net-snmp-5.0.9-2.80, and under MPS> "Variable handling" it talks about a "struct variable". MPS> MPS> Looking in /usr/include/net-snmp/library/snmp_api.h, I see no such thing, MPS> but there is a "struct variable_list". It does not have all of the fields MPS> mentioned in the doc though. length is name_length, and there is no exact MPS> flag.
Those aren't fields in the structure, they are parameters to the variable handling routine. MPS> Am I looking in the wrong place? I'm just trying to figure out calling MPS> parameters and how to return responses. Take a look at some of the examples in the agent/mibgroup directory. Better yet, let mib2c generate some skeleton code for your mib. -- 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 email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
