We have a mib that contains both scalars and table values.  We wish to
implement a mib module for our agent to support this mib.

When we run mib2c it appears we need to specify a configuration file
depending on our need. 

Running "mib2c -c mib2c.scalar.conf ourModule" generates ourModule.c,
ourModule.h that supports the scalar values.

Running "mib2c -c mib2c.iterate.conf ourModule" generates ourModule.c,
ourModule.h that supports the table values.

Is there a way to generate ourModule.c/h with support for both tables
and scalars? Or do we have to copy the contents of one ourModule.c into
the other ourModule.c?

We have tried:
"mib2c -c mib2c.scalar.conf  mib2c.iterate.conf ourModule" and 
"mib2c -c mib2c.scalar.conf  -c mib2c.iterate.conf ourModule"
Without success.





-------------------------------------------------------
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_ide95&alloc_id396&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