Negatives is possible if object type is integer32 , generic function
used to return value does preserve negative value and you should be able
to see negative value on query. I tried it and it works. Using unsigned
char * for return is to make framework generic I guess, which does not
make loss or modification of values. Am I right?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Asim
Zaka
Sent: Wednesday, November 09, 2005 2:22 PM
To: [email protected]
Subject: How do I return negative (signed) values from var_

Hello Everybody,

How do I return negative numbers from var_ read function in net-snmp
which
returns unsigned char *?

Regards,
Asim Pervez Zaka.



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to