On 25/01/07, Vinicius Pacheco <[EMAIL PROTECTED]> wrote:
>    I need help accessing an especific row column value using for that
> a given row.

> I want to be able to, using the row obtained from last line of
> the code, access any given column value.
> Something like:
>      value = row->column[2];

netsnmp_table_data_set_storage *data =
    netsnmp_table_data_set_find_column( row, 2);

The actual value is held in 'data->data' (as a union),
with the type and size being 'data->type' and 'data->data_len'
respectively.

See <net-snmp/agent/table_dataset.h> for details.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to