Export the "proto_tree_add_float" routines, and the routines to get IEEE

float and double values from a tvbuff.

svn path=/trunk/; revision=12018
This commit is contained in:
Guy Harris 2004-09-16 19:32:09 +00:00
parent 842ddea77e
commit 56f95db6b4
2 changed files with 16 additions and 0 deletions

View File

@ -380,6 +380,9 @@ proto_tree_add_double_hidden
proto_tree_add_ether
proto_tree_add_ether_format
proto_tree_add_ether_hidden
proto_tree_add_float
proto_tree_add_float_format
proto_tree_add_float_hidden
proto_tree_add_int
proto_tree_add_int_format
proto_tree_add_int_hidden
@ -473,10 +476,14 @@ tvb_get_letoh24
tvb_get_letoh64
tvb_get_letohl
tvb_get_letohs
tvb_get_letohieee_double
tvb_get_letohieee_float
tvb_get_nstringz
tvb_get_nstringz0
tvb_get_ntoh24
tvb_get_ntoh64
tvb_get_ntohieee_double
tvb_get_ntohieee_float
tvb_get_ntohl
tvb_get_ntohs
tvb_get_ptr

View File

@ -483,3 +483,12 @@ guint16 crc16_ccitt_tvb(tvbuff_t *tvb, unsigned int len);
guint64 tvb_get_letoh64(tvbuff_t *tvb, gint offset);
guint64 tvb_get_ntoh64(tvbuff_t *tvb, gint offset);
proto_item* proto_tree_add_float(proto_tree*, int, tvbuff_t*, gint, gint, float);
proto_item* proto_tree_add_float_hidden(proto_tree*, int, tvbuff_t*, gint, gint, float);
proto_item* proto_tree_add_float_format(proto_tree*, int, tvbuff_t*, gint, gint, float, const char*, ...);
gfloat tvb_get_ntohieee_float(tvbuff_t*, gint offset);
gdouble tvb_get_ntohieee_double(tvbuff_t*, gint offset);
gfloat tvb_get_letohieee_float(tvbuff_t*, gint offset);
gdouble tvb_get_letohieee_double(tvbuff_t*, gint offset);