
Hi!
Krishna> I have a MIB and I have to write routines to convert the MIB Krishna> into a 'C' data structure with all the parameters and routines Krishna> accessing these parameters(set, get operations). These Krishna> routines have to be 'C' routines. Can I use libsmi for my Krishna> requirement?? If yes, can anyone guide me in generating 'C' Krishna> routines??
Do you have to implement a manager that should make use of compiler generated MIB access functions? Then the smidump `stools' driver can be, what you are looking for (smidump -f stools <MIB>). This compiler driver creates C data structures and stubs to be used by the stools.
If you have to implement an agent module that should make use of a compiler generated template, then you might want to take a look at the smidump `net-snmp' driver (smidump -f netsnmp <MIB>). It generates C code for the NET-SNMP agent toolkit.
Note, that both drivers are under development. The latest drivers are not yet included with the libsmi tarballs. Please use the anonymous CVS repository, instead, as explained on the libsmi web pages.
http:/www.ibr.cs.tu-bs.de/projects/stools/ http://net-snmp.sourceforge.net/
-frank -- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to libsmi-request@ibr.cs.tu-bs.de. !! See http://www.ibr.cs.tu-bs.de/projects/libsmi/ for more information.