summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>1998-12-29 04:05:38 +0000
committerGerald Combs <gerald@wireshark.org>1998-12-29 04:05:38 +0000
commitcb1f8e34c5b0a812a3ae7abfbd8956d39b88d456 (patch)
treeb830b9c2347e7127a6f9cd7c3ddf5efbb7c6865d /util.h
parent2301bf5e1029fd39a61ed7edcdb27b354df12d16 (diff)
downloadwireshark-cb1f8e34c5b0a812a3ae7abfbd8956d39b88d456.tar.gz
* Added Joerg Mayer's Vines patch
* Added Joerg to the AUTHORS file * Added Guy's bitfield decode patch * Fixed time output svn path=/trunk/; revision=142
Diffstat (limited to 'util.h')
-rw-r--r--util.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/util.h b/util.h
index 4b9b05f885..bacb372c55 100644
--- a/util.h
+++ b/util.h
@@ -1,7 +1,7 @@
/* util.h
* Utility definitions
*
- * $Id: util.h,v 1.5 1998/10/16 01:18:35 gerald Exp $
+ * $Id: util.h,v 1.6 1998/12/29 04:05:37 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -48,6 +48,15 @@ void simple_dialog(gint, gint *, gchar *, ...);
void simple_dialog_cancel_cb(GtkWidget *, gpointer);
+const char *decode_boolean_bitfield(guint32 val, guint32 mask, int width,
+ const char *truedesc, const char *falsedesc);
+
+const char *decode_enumerated_bitfield(guint32 val, guint32 mask, int width,
+ const value_string *tab, const char *fmt);
+
+const char *decode_numeric_bitfield(guint32 val, guint32 mask, int width,
+ const char *fmt);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */