Hi -

We are saving some of our "set" values in a database or possibly a flat
file.  Based on the mib2c stubs generated for scalars, my initial
interpretation was that the SET_ACTION should write the value(s) to the DB:

case MODE_SET_ACTION:
            /* XXX: perform the value change here */

but "commit" also seems like a likely place, even tho the stub code does
not indicate this:

case MODE_SET_COMMIT:
            /* XXX: delete temporary storage */

In one case, the UNDO would have to reset values in the DB and in the other
it would not, so my question is, which is the correct place?

Thanks.


Kathy McLeod


------------------------------------------------------------------------------

_______________________________________________
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