2009/6/19 Zaryab M. Munir <[email protected]>:
> Can someone help me in understanding the argument  (void *row).

It's an arbitrary data structure, used to hold the "contents" of that row.
Note that this is only ever interpreted by your code - the Net-SNMP helper
code treats it as an opaque value.  So the semantics of this structure
simply need to be agreed between the initialisation code (that registers
the row), and the MIB handler (which interprets it).

   It's similar in concept to the 'data_context' field in the iterator helpers.


>  How do I create it ?

Any way you like.

>                          what should be its value(s) etc.

Whatever you like.
Just as long as the code that registers it, and the handler code
that interprets it agree.


> As new UDP sessions are created in different subagents,
>  I want to populate those in the udpTable with address and portNumber.

I presume this is intended as a complete replacement for the existing
udpTable implementation?

Dave

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to