Ethereal-dev: [Ethereal-dev] Handling DOUBLES

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Nicholas, John S" <John.Nicholas@xxxxxxxxxxxxxx>
Date: Thu, 5 Apr 2001 12:56:27 -0700
Hi,

I was wondering why the "proto_tree_add_item" function does not handle
FT_DOUBLE fields.  It looks like I can use proto_tree_add_double(),
but it would be nice if the generic function could decode the type field
so I would not have to check what the type is before adding to the 
proto_tree.  

There is probably something I am missing here.

Also, I was wondering how I distinguish between 32bit floats and 64bit floats.
There is no FT_FLOAT type to use, only FT_DOUBLE. 

Thanks
-----------------------------------------------------------------------------------------------
John S. Nicholas                                       The Boeing Company
    Stable: john.s.nicholas@xxxxxxxxxx       Phone: 206-662-0298
-----------------------------------------------------------------------------------------------