On Thu, 2005-09-22 at 10:19 +0530, [EMAIL PROTECTED] wrote:
> There are two method below where we need to maintain first data 
> point and next data point inorder to implement our row and col. 


> spiConnTable_get_first_data_point(...)
> spiConnTable_get_next_data_point(...)
> 
> ============================================================
> -Q1> So How do I implement these above method so that I can 
>      create row in a table?.

These two methods have *nothing* to do with creating new rows
in the table.   They are used for walking through the existing
contents.


> -Q2>If someone has already implemented Table using mib2c 
>     compiler, so please do let me know so that I should be    
>     able to do that..

There are several MIB table that have been implemented using
the iterator helper.  See the agent source code.
In addition, the mib2c.iterate.conf template should include:

  a) a routine 'spiConnTable_createEntry' for
        creating a new row in the table, and 
  b) suitable code in the RESERVE2 block to call it
        when appropriate.


Which version of the software are you working with?

Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to