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.

Simon



On Thu, Nov 10, 2011 at 10:30 AM, Dave Shield <d.t.shi...@liverpool.ac.uk>wrote:

> On 9 November 2011 18:11, Suresh kumar <skjaiswa...@hotmail.com> wrote:
> > i want convert entire MIB object to c/h file using mib2c  at once
>
> What do you mean by "converting the MIB object"?
> What sort of MIB object(s) do you have in mind.
>
> If these are scalar objects, then try
>
>    mib2c -c mib2c.scalar.conf  MY-MIB::myTopLevelObject
>
> If this is a MIB table, then try
>
>    mib2c -c mib2c.table_data.conf  MY-MIB::myTable
>
> (or one of the other table-based helper frameworks)
>
>
> Naturally, you should use the appropriate values instead
> of MY-MIB::myTopLevelObject and MY-MIB::myTable
>
> Dave
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to