aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-12-08 23:40:13 +0000
committerGuy Harris <guy@alum.mit.edu>2003-12-08 23:40:13 +0000
commita93463727e4fb892eab5898c1dad71ed030a1338 (patch)
tree44a9f14088436d0555bdf3fdee70eff8d13d511e /epan/to_str.h
parent7e42113e2adfda263a62566f3e04b330a69e955b (diff)
Get rid of the private "my_decode_bitfield_value()" a number of
dissectors had. Instead, rename it "other_decode_bitfield_value()", put it in "epan/to_str.c", and make "decode_bitfield_value()" use it. svn path=/trunk/; revision=9213
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index 04cd9ec998..58f8fe91c4 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -1,7 +1,7 @@
/* to_str.h
* Definitions for utilities to convert various other types to strings.
*
- * $Id: to_str.h,v 1.19 2003/08/26 01:00:30 guy Exp $
+ * $Id: to_str.h,v 1.20 2003/12/08 23:40:13 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -68,6 +68,8 @@ extern gchar* rel_time_to_str(nstime_t*);
extern gchar* rel_time_to_secs_str(nstime_t*);
+extern char *other_decode_bitfield_value(char *buf, guint32 val, guint32 mask,
+ int width);
extern char *decode_bitfield_value(char *buf, guint32 val, guint32 mask,
int width);
extern const char *decode_boolean_bitfield(guint32 val, guint32 mask, int width,