Re: How to convert entire MIB at once using mib2c

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAKoMtGb2nrOAzcn=F8Rq9+zpPdep2R6DxyxAgOA+zmsBMNdtBQ@mail.gmail.com>
On 10 November 2011 15:41, Simon Chamlian <[email protected]> wrote:
> I think what he means (or what I mean) is to have one config file that
> converts the whole MIB file (which contains any possible object) into C.

If the MIB contains scalar objects, then the command I gave will do
exactly that.

If the MIB contains tables (or a mixture of tables and scalars),  then
you should
look at implementing one table at a time.

You can always combine the implementation code for related tables into a
single file manually, but the mib2c templates are typically designed to work
with just one table at a time.

Dave

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.