On 30/01/07, Vinicius Pacheco <[EMAIL PROTECTED]> wrote:
> printf("value = %f" , data2->data.floatVal);
printf("value = %f" , *data2->data.floatVal);
floatVal is a *pointer* to the value, not the value itself.
(Same for integers)
> Other question: In what place in the union the ASN_IPADDRESS is
Thanks again Dave,
Now it´s almost perfect, but I´m having some trouble accessing the
value when it is not a string.
For example, when the value type is ASN_OCTET_STR this works:
-
netsnmp_table_data_set_storage *data1 =
netsnmp_table_data_set_find_column( (netsnmp_table_data_set_storage
*
On 29/01/07, Vinicius Pacheco <[EMAIL PROTECTED]> wrote:
> Thanks for the previous answer, but when I compiled the agent with you
> suggestions, I got the following error:
> --
> "warning: passing argument 1 of 'netsnmp_table_data_set_fin
Hi Dave,
Thanks for the previous answer, but when I compiled the agent with you
suggestions, I got the following error:
--
"warning: passing argument 1 of 'netsnmp_table_data_set_find_column'
from incompatible pointer type"
-This warn
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