On Sun, 2005-07-24 at 11:30 +0200, Torben Surmer wrote:
> I have a snmp table create with a numeric index.

Using which helper?

> Is there a possibility to get a row via the index?
> Something like:
>   row  = netsnmp_getrowviaindex(index);
>   netsnmp_delete_row(row);

Try
   netsnmp_table_data_get(netsnmp_table_data *table,
                          netsnmp_variable_list * indexes)

where 'indexes' is a varbind containing the integer index.

That's assuming you're using the table_data helper.

Dave



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to