On Mon, 11 Oct 2004 10:35:20 -0600 Carlos wrote:
CC> Will look into it. Currently I'm doing this, and it seems to work:
CC>
CC> if (table_set) {
CC> for(row = table_set->table->first_row; row; row = row->next) {
CC> if (*(row->indexes->val.integer) == alertIndex) {
CC> netsnmp_table_dataset_remove_and_delete_row (table_set, row);
CC>
CC> where table_set is the pointer received from the initial call to
CC> netsnmp_create_table_data_set(). Do you see anything wrong with
CC> the above implementation? Potential pitfalls? Performance/resource
CC> implications?
Besides working directly with the table internals, guaranteeing that it will
break should the table handler move to a more efficient storage mechanism than
a linked list?
--
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>
You are lost in a twisty maze of little standards, all different.
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
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