Re: Table custom handlers

"Nikos Balkanas" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <009401c97697$8e82b600$02b2a8c0@tardis>
Hi Dave,

That's great. I tried it and looks fine:

Changed column = table_info->colnum
Changed row = *table_info->index_oid

That really made my day,

Nikos
----- Original Message ----- 
From: "Dave Shield" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: "Wes Hardaker" <[email protected]>; 
<[email protected]>
Sent: Wednesday, January 14, 2009 5:15 PM
Subject: Re: Table custom handlers


> 2009/1/6 Nikos Balkanas <[email protected]>:
>> I need to get the changed row index.
>
>
>    for (request = requests; request; request = request->next) {
>        table_info = netsnmp_extract_table_info(request);
>        /*
>         * table_info->colnum contains the column number requested
>         */
>        /*
>         * table_info->indexes contains a linked list of snmp variable
>         * bindings for the indexes of the table.  Values in the list have
>         * been set corresponding to the indexes of the request
>         */
>
>    }
>
>
> 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.