On Mon, 2006-02-20 at 12:47 +0530, [EMAIL PROTECTED] wrote: > I have generated code using mib2c -c mib2c.create-dataset.conf. > I am using the netsnmp_table_data_set helper .
OK - that helper can take care of deleting rows automatically. You just need to tell it which column is the RowStatus object. > void > initialize_table_mclbModemNetworkCertificateTable(void) > { > table_set=netsnmp_create_table_data_set("..."); > table_set->allow_creation = 1; table_set->rowstatus_column = COLUMN_MCLBMODEMNETWORKCERTIFICATEROWSTATUS; > netsnmp_table_set_add_indexes(table_set, ASN_INTEGER, > 0); > netsnmp_table_set_multi_add_default_row(table_set, .... ); > netsnmp_register_table_data_set( > netsnmp_create_handler_registration(....), > table_set, NULL); > } Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users