(I've read this 3 times but I guess it's been a long day 'cuz it doesn't make sense to 
me.)

> Ok what I do is keep a local copy 

Local to what function?  Where?

> of the set request data in an array. This
> could easily be a linked list of objects. When a set request is 
> made I check
> a COMMIT flags in my MIB to see if that is set. If it is set when 
> the commit
> function gets called (following the set action) I then pack the 
> contents of
> the row into a message. This message is then parsed and columns 
> extractedand pushed into a
> linked list/ vector. The store function is called and writes the 
> linked list
> into persistence. By doing this updates to persistence are passed 
> to the
> user and not when the agent is killed. Make sence?

It sounds like you're talking about adding a row to a table.  I'm updating, not 
adding, and I'm doing one value on each of several rows.  But however it's done, my 
question is how do I force persistent values to be stored when set?  Can I safely and 
reasonably call the callback I registered to save on shutdown?  Since I don't use any 
of the values it gets passed, can I call

   mySaveFunc(0, 0, NULL, NULL);

?

                             Chris



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
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