Dave, I'm agree with you but :

- the template code is a little buggy
- the 'load' routine isn't call when the table is empty. After the 'init' function if the table is empty the 'load' function is *never* call  (see my post "Cache helper wasn't call when the table is empty")

Stephane.

Dave Shield a écrit :
On 14/03/2008, kumar undurthi <[EMAIL PROTECTED]> wrote:
  
      I have requirement in which i have to fill the table data when ever a
request will come,....
 when the a request come  at " i.e   "(check in code )  case MODE_GET:"
then i want to update the table
    

And as I said last week, the best way to do this is to use the cache
helper.   Generate the template code using

   mib2c -c mib2c.table_data.conf  -S cache=1   ocStbHostAVInterfaceTable

and put the code for updating the table into the 'load' routine.

Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users



  

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to