Den 25-10-2012 14:28, Grijesh Chauhan skrev:
> Using parse.c & parse.h  in net-snmp.  I written a code but What I am
> getting is wrong number of imports.
> And I think there is no mistake in my code. For the clearly of purpose I
> am attaching my *code* name bug.c,
> *input MIB*-  RU_1.76.smi   and my program *output*: RU_tree.
>
> In attached MIB there is 21-import from 3 mibs. but code shows only Eigth.

Don't expect our parser to be the one and only thruth ...

It picks up what is needed for our purpose, namely object identifiers 
and textual conventions. Elements that are MACRO or ASN.1 type 
definition are silently ignored.

Btw, why are you importing DisplayString twice, from to different mibs?

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to