Thanks for all. I have found the error which caused by my prior code. But I have still two questions:
1. After I use "XXXTable_createEntry" and "netsnmp_insert_table_row" to insert a row into my table. I want to use "table_entry = (struct XXXTable_entry *) " to get a table_entry of the row. But I always get NULL. How can I get the table_entry after insert a row into my table?
2. I am always confused with the rowStatus field, Can you tell me some detail info about the status of this field? What is the difference between them?
Thank you again!
Peter
On 9/2/06, Robert Story <[EMAIL PROTECTED]> wrote:
On Thu, 31 Aug 2006 09:40:24 +0100 Dave wrote:
DS> On 31/08/06, Zhang Chuan < [EMAIL PROTECTED]> wrote:
DS> > 1.if rowStatus is CreateAndGot(4), the "case MODE_SET_COMMIT:" will not
DS> > be executed? if CreateAndWait(5), it will be executed?
DS>
DS> No.
DS> COMMIT should be run for *any* (successful) SET request.
DS>
DS> > What is difference between them?
DS>
DS> c&Go makes the new row "active" immediately.
DS> c&Wait does not.
e.g. If you are interfacing to some external process, you would
not try to create the new row on the device for createAndWait, but you would
for createAndGo.
--
you jump, I jump,she jump 3
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
