hey robert i used some logic to handle this logic 
i will post the mib2c conf file on the grp tommorow 
i now generate classes out of the mib 

-SIGTERM
amit

> --- Ursprüngliche Nachricht ---
> Von: Robert Story <[EMAIL PROTECTED]>
> An: "amit limaye" <[EMAIL PROTECTED]>
> Kopie: net-snmp-coders@lists.sourceforge.net
> Betreff: Re: handling empty structures genrated by mib2c
> Datum: Wed, 19 Apr 2006 17:08:20 -0400
> 
> On Thu, 6 Apr 2006 04:32:11 +0200 (MEST) amit wrote:
> AL> The problem i m facing all traps dont have variable bindings and i end
> up
> AL> generating empty structures which is not standard C. 
> AL> I just wanted pointers if any of u have faced similiar problems and is
> AL> their a way around this while writing ur own mib2c.conf files
> 
> So why not could the number for varbinds before generating the structure?
> 
> -- 
> NOTE: messages sent directly to me, instead of the lists, will be deleted
>       unless they are requests for paid consulting services.
> 
> Robert Story; NET-SNMP Junkie
> Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
> Archive:
> <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>
> 
> You are lost in a twisty maze of little standards, all different. 
> 

-- 
Analog-/ISDN-Nutzer sparen mit GMX SmartSurfer bis zu 70%!
Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to