
Krishna Kishore K R writes:
Krishna> Hi, I have a MIB and I have to write routines to convert the Krishna> MIB into a 'C' data structure with all the parameters and Krishna> routines accessing these parameters(set, get Krishna> operations). These routines have to be 'C' routines. Can I Krishna> use libsmi for my requirement?? If yes, can anyone guide me Krishna> in generating 'C' routines??
Sounds like libsmi is just the right thing you need. I suggest to look at the dump-stools.c or dump-netsnmp.c output drivers of the smidump utility as a starting point. If you know how the C routines should look like, than it is just a matter of some relatively trivial programming to produce the desired output.
(I think the dump-stools.c driver currently only exists in the anon CVS repository.)
/js
-- !! 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.