diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-07-15 16:24:35 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-07-15 16:24:35 +0000 |
commit | 5d9d9b82219cb87ee74b94ee3a8bf0d5ec51b57c (patch) | |
tree | c494459b75db5141e5035de2546e23ce53f01fc9 /epan/stats_tree_priv.h | |
parent | 7deecbf36bcd15eda28be17fbf00d7fc05b31003 (diff) |
From Wonil Kim: Enable statistics menu register for the tap plug-in. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7466
svn path=/trunk/; revision=43726
Diffstat (limited to 'epan/stats_tree_priv.h')
-rw-r--r-- | epan/stats_tree_priv.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/stats_tree_priv.h b/epan/stats_tree_priv.h index c6c3e153bd..6c90bf0cfe 100644 --- a/epan/stats_tree_priv.h +++ b/epan/stats_tree_priv.h @@ -113,6 +113,7 @@ struct _stats_tree_cfg { register_stat_group_t stat_group; gboolean in_use; + gboolean plugin; /** dissector defined callbacks */ stat_tree_packet_cb packet; @@ -181,6 +182,10 @@ extern gchar *stats_tree_get_abbr(const gchar *optarg); /** obtains a stats tree from the registry given its abbr */ extern stats_tree_cfg *stats_tree_get_cfg_by_abbr(gchar *abbr); +/** obtains a stats tree list from the registry + caller should free returned list with g_list_free() */ +extern GList *stats_tree_get_cfg_list(void); + /** extracts node data as strings from a stat_node into the buffers given by value, rate and precent if NULL they are ignored */ |