[ First - *please* don't mail me privately, without copying
any responses to the mailing list.  I don't have the time     or
inclination to offer private, unpaid, SNMP consultancy.     Keep
discussions to the list, where others can both learn     and offer
advice.  Thanks.   ]
On 31 December 2011 06:39, Ravi Kumar <[email protected]> wrote:
> I see snmpNotifyTable uses header_complex api for implementation.
> Does it mean that this is an old implementation and needs to switch to new
> implementation ?

Ideally, yes - it might well be sensible to re-code the snmpNotifyTable
(and snmpNotifyFilterProfileTable) to use the newer helper-based API,
and bring them into line with the snmpNotifyFilterTable

But in practise, this isn't really a high priority.
As long as they work OK, there are probably more important things
to spend our time on.

But any new MIB modules should definitely use the v5 APIs, rather
than header_complex.

Dave


>
>
>
>
> On Fri, Dec 30, 2011 at 8:19 PM, Dave Shield <[email protected]>
> wrote:
>>
>> On 28 December 2011 09:07, Ravi Kumar <[email protected]> wrote:
>> > I want to compile  helper_complex.c   with gcc and make binary of it.
>> > I know this file has main function and can run independently for
>> > testing.
>> > Can any one let me know how can i do this ?
>>
>> I think it's fair to assume that this has not been tried in over ten
>> years.
>> There's a fairly blatant error in the code of the header_complex_dump()
>> routine, which will clearly not compile  (since the fifth parameter is
>> missing
>> a file name!).
>>   Checking the SVN logs, this code has been broken in this way since
>> December 1999.
>>
>>  As far as I can remember, the 'header_complex' approach was an early
>> attempt to provide a more flexible mechanism for extending the UCD
>> agent, to address MIB tables where the 'header_simple' assumptions
>> did not hold.
>>   Since then, the newer v5 handler-based mechanisms have completely
>> taken over, and there's probably no point in looking at using
>> header_complex
>> for new MIB implementations.    It's dead - forget about it.
>>
>> Dave
>
>

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to