Re: Table custom handlers

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.