diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-09-16 19:32:09 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-09-16 19:32:09 +0000 |
commit | 56f95db6b41619e12d78d2ce6522507084da2ab5 (patch) | |
tree | 43b7146ceacc0d72492f0457857fa37cfb56a822 /plugins | |
parent | 842ddea77e063d74595fc339168079d985d6b48b (diff) |
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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/plugin_api_list.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c index 2b140e255b..38ca90bfd8 100644 --- a/plugins/plugin_api_list.c +++ b/plugins/plugin_api_list.c @@ -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); |