aboutsummaryrefslogtreecommitdiffstats
path: root/epan/value_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/value_string.h')
-rw-r--r--epan/value_string.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/value_string.h b/epan/value_string.h
index d4f5759554..3ffb379389 100644
--- a/epan/value_string.h
+++ b/epan/value_string.h
@@ -1,7 +1,7 @@
/* value_string.h
* Definitions for value_string structures and routines
*
- * $Id: value_string.h,v 1.4 2003/12/01 23:41:44 guy Exp $
+ * $Id: value_string.h,v 1.5 2004/02/22 22:45:21 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -35,6 +35,9 @@ typedef struct _value_string {
gchar *strptr;
} value_string;
+#define VS_DEF(x) { x, #x }
+#define VS_END { 0, NULL }
+
extern gchar* match_strval(guint32, const value_string*);
extern gchar* val_to_str(guint32, const value_string *, const char *);