aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stats_tree_priv.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-06-05 13:44:42 -0700
committerGerald Combs <gerald@wireshark.org>2015-06-05 21:39:08 +0000
commit1736a1bcc6bb6b51df23bdfe7a44955cb5d88546 (patch)
tree860517f1748ba2ff84e2387a6ae0b074fa548ac2 /epan/stats_tree_priv.h
parentab6108cbdfeaa47c4802bdb242d8a35d0726cd4d (diff)
Clean up stats_tree_presentation.
Remove some unused struct members and accompanying callbacks. Change-Id: I64d32ddf886038e8f19bc3f88e86c8d7578db648 Reviewed-on: https://code.wireshark.org/review/8779 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/stats_tree_priv.h')
-rw-r--r--epan/stats_tree_priv.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/epan/stats_tree_priv.h b/epan/stats_tree_priv.h
index 44ecc16000..911b683f3c 100644
--- a/epan/stats_tree_priv.h
+++ b/epan/stats_tree_priv.h
@@ -140,7 +140,7 @@ struct _stats_tree_cfg {
gchar* tapname;
register_stat_group_t stat_group;
- gboolean in_use; /* GTK+ only */
+ gboolean in_use; /* GTK+ only */
gboolean plugin;
/** dissector defined callbacks */
@@ -158,13 +158,6 @@ struct _stats_tree_cfg {
/** last to be called at node creation */
void (*setup_node_pr)(stat_node*);
- /** last to be called at node destruction */
- void (*free_node_pr)(stat_node*);
-
- /** to be called for every node in the tree */
- void (*draw_node)(stat_node*);
- void (*reset_node)(stat_node*);
-
/**
* tree presentation callbacks
*/
@@ -173,8 +166,6 @@ struct _stats_tree_cfg {
tree_pres *(*new_tree_pr)(stats_tree*);
void (*free_tree_pr)(stats_tree*);
- void (*draw_tree)(stats_tree*);
- void (*reset_tree)(stats_tree*);
/** flags for the stats tree (sorting etc.) default values to new trees */
guint st_flags;
@@ -183,13 +174,7 @@ struct _stats_tree_cfg {
/* guess what, this is it! */
WS_DLL_PUBLIC void stats_tree_presentation(void (*registry_iterator)(gpointer,gpointer,gpointer),
void (*setup_node_pr)(stat_node*),
- void (*free_node_pr)(stat_node*),
- void (*draw_node)(stat_node*),
- void (*reset_node)(stat_node*),
- tree_pres *(*new_tree_pr)(stats_tree*),
void (*free_tree_pr)(stats_tree*),
- void (*draw_tree)(stats_tree*),
- void (*reset_tree)(stats_tree*),
void *data);
WS_DLL_PUBLIC stats_tree *stats_tree_new(stats_tree_cfg *cfg, tree_pres *pr, const char *filter);