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
> stored? And how can I access it? data->data.integer?
It's a (binary) string, so is stored in data->data.string[0-3]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders