On Thu, 18 Nov 2010 10:58:48 +0200 Timo wrote:
TT> Gets only container, and I can't associate my context data with it
TT> easily. This is called from inetNetToMediaTable_interface.c which says
TT> in big letters "NOT USER EDITABLE CODE". So I can't modify the proto
TT> type either.
TT> 
TT> So I should either modify mib2c to allow passing additional data with
TT> it, or make inetNetToMediaTable not use mib2c anymore. Either does not
TT> sound nice.

I'd just store your context pointer as a static pointer in
inetNetToMediaTable_data_access.c.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to