aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stat_tap_ui.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-08-06 10:56:22 -0700
committerAnders Broman <a.broman58@gmail.com>2015-08-07 08:57:42 +0000
commitfd19aafbe6ae39dc07c16ebf565d916ec6da33a4 (patch)
treef63839dc26ea32e3aa42d05b9918b83854955e99 /epan/stat_tap_ui.h
parent0c9998ddfdb425fef2a43badb09690ef2a8e73ce (diff)
Add ONC RPC program stats.
Convert ONC RPC program stats to the stat_tap API. Add a "user_data" member to the stat_tap_table_item_type struct. Change-Id: I5cbf000a447ff93d30fa7f098124bdcbc34f2935 Reviewed-on: https://code.wireshark.org/review/9904 Petri-Dish: Gerald Combs <gerald@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/stat_tap_ui.h')
-rw-r--r--epan/stat_tap_ui.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/stat_tap_ui.h b/epan/stat_tap_ui.h
index 4689cd6293..4f1c99e7c4 100644
--- a/epan/stat_tap_ui.h
+++ b/epan/stat_tap_ui.h
@@ -87,6 +87,17 @@ typedef struct _stat_tap_table_item_type
gfloat float_value;
gint enum_value;
} value;
+ /* Scratch space for the dissector. Alternatively we could also add support
+ * for hidden columns. */
+ union
+ {
+ guint uint_value;
+ gint int_value;
+ const char* string_value;
+ gfloat float_value;
+ gint enum_value;
+ void* ptr_value;
+ } user_data;
} stat_tap_table_item_type;
/* Possible alignments */