Question about netsnmp_table_row_register(...) API

"Zaryab M. Munir" <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,
I am planning to use this API to register the rows of the udpTable from multiple subagents in AgentX implementation.
 
I am looking for some help with the usage of this API.
 
int
netsnmp_table_row_register(
netsnmp_handler_registration 
*reginfo,
netsnmp_table_registration_info 
*tabreg,                          
 void *row, 
netsnmp_variable_list *index)

I am quite clear about the arguments: *reginfo, *tabreg and *index.
I think that *reginfo is created by: netsnmp_create_handler_registration( )  and
*tabreg is created by:
netsnmp_table_helper_add_indexes( ..)
 
Can someone help me in understanding the argument  (void *row).  How do I create it ?  what should be its value(s) etc.
Any pointers to example code will be greatly appreciated.
 
As new UDP sessions are created in different subagents,  I want to populate those in the udpTable with address and portNumber.
 
Thanks,
Zaryab

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.