diff options
author | Gerald Combs <gerald@wireshark.org> | 1998-12-29 04:05:38 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 1998-12-29 04:05:38 +0000 |
commit | cb1f8e34c5b0a812a3ae7abfbd8956d39b88d456 (patch) | |
tree | b830b9c2347e7127a6f9cd7c3ddf5efbb7c6865d /util.h | |
parent | 2301bf5e1029fd39a61ed7edcdb27b354df12d16 (diff) |
* 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.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 */ |