Hi all,

I have a precision parameter, and I must return a double value through
net-snmp agent.

Float is not a problem, using Float from NET-SNMP-TC, and returning a
ASN_OPAQUE_FLOAT from agent code.

But what can I do for returning a double precision parameter?

1st problem) In example mibs does not exists a Double value

2nd problem) prototype functions for returning values works with long type,
which is a 4 bytes type. Double use 8 bytes representations.


Regards,

Using net-snmp 5.1.2

-- 
********************
Victor M. Palacio
********************
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to