>                netsnmp_extract_table_row( request )
>
> The table_data/table_dataset helpers take care of identifying the
> row (and column) that is appropriate for a given request, and will
> squirrel this information away for you.
>  You just need to retrieve it.

Will look into it.  Currently I'm doing this, and it seems to work:

  if (table_set)
  {
    for(row = table_set->table->first_row; row; row = row->next) 
    {
      if (*(row->indexes->val.integer) == alertIndex)
      {
        netsnmp_table_dataset_remove_and_delete_row (table_set, row);
      }
    }
  }

where table_set is the pointer received from the initial call to
netsnmp_create_table_data_set().  Do you see anything wrong with
the above implementation?  Potential pitfalls?  Performance/resource
implications?

Thanks,

Carlos



-------------------------------------------------------
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

Reply via email to