Thanx for the tip. Changed code to point to *table_info->indexes->val.integer
BR, Nikos ----- Original Message ----- From: "Dave Shield" <[email protected]> To: "Nikos Balkanas" <[email protected]> Cc: <[email protected]> Sent: Thursday, January 15, 2009 10:25 AM Subject: Re: Table custom handlers > 2009/1/14 Nikos Balkanas <[email protected]>: >> That's great. I tried it and looks fine: >> >> Changed column = table_info->colnum >> Changed row = *table_info->index_oid > > 'index_oid' would work as well. > And for an integer-indexes table, it probably doesn't make > much difference, since it's just a single integer value anyway. > > But in general - particularly for string- or multiple-indexed tables, > you're better off using the 'table_info->indexes' field, where the > index values have already been extracted for you. > > Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ 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
