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.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/epan/value_string.h b/epan/value_string.h
index 940f5827db..c0ee2551b7 100644
--- a/epan/value_string.h
+++ b/epan/value_string.h
@@ -1,4 +1,4 @@
-/* value_string.h
+/** @file
* Definitions for value_string structures and routines
*
* Wireshark - Network traffic analyzer
@@ -12,6 +12,7 @@
#define __VALUE_STRING_H__
#include <glib.h>
+#include <stdint.h>
#include "ws_symbol_export.h"
#include <epan/wmem_scopes.h>
@@ -123,6 +124,10 @@ WS_DLL_PUBLIC
const gchar *
try_val_to_str_idx(const guint32 val, const value_string *vs, gint *idx);
+WS_DLL_PUBLIC
+const gchar *
+char_val_to_str(char val, const value_string *vs, const char *msg);
+
/* 64-BIT VALUE TO STRING MATCHING */
typedef struct _val64_string {
@@ -286,8 +291,8 @@ try_str_to_str_idx(const gchar *val, const string_string *vs, gint *idx);
/* RANGE TO STRING MATCHING */
typedef struct _range_string {
- guint32 value_min;
- guint32 value_max;
+ uint64_t value_min;
+ uint64_t value_max;
const gchar *strptr;
} range_string;