On Tue, 12 Apr 2005 12:34:32 -0700 Toth, wrote: TGS> When we run mib2c it appears we need to specify a configuration file TGS> depending on our need. TGS> TGS> Running "mib2c -c mib2c.scalar.conf ourModule" generates ourModule.c, TGS> ourModule.h that supports the scalar values. TGS> TGS> Running "mib2c -c mib2c.iterate.conf ourModule" generates ourModule.c, TGS> ourModule.h that supports the table values. TGS> TGS> Is there a way to generate ourModule.c/h with support for both tables TGS> and scalars? Or do we have to copy the contents of one ourModule.c into TGS> the other ourModule.c?
You can specify the output file name to mib2c. Try: "mib2c -c mib2c.scalar.conf -f ourScalars ourModule" "mib2c -c mib2c.iterate.conf -f ourTables ourModule" -- 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 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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders