aboutsummaryrefslogtreecommitdiffstats
path: root/epan/stats_tree_priv.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-11-21 01:28:17 +0000
committerGerald Combs <gerald@wireshark.org>2013-11-21 01:28:17 +0000
commitea28298e961bca09a4294a4130463ea54123fa14 (patch)
tree2a049a21dfac639bb965dbeaa0f4dc5ff2f61f5e /epan/stats_tree_priv.h
parent3111b6c88968bec609dfc04912f6cfaf65a6927a (diff)
Add a statistics tree dialog.
Add menu items for each corresponding item in gtk/main_menubar.c that calls gtk_stats_tree_cb(). Hopefully that's everything. Note that we use quite a bit less code than the GTK+ flavor and why we might not want to do that. Change a few things in ui/qt/CMakeLists.txt to more closely match the GTK+ version. Add plumbing for tap registrations in CMakeLists.txt and Makefile.am. Add the ability to copy text as CSV or YAML. svn path=/trunk/; revision=53464
Diffstat (limited to 'epan/stats_tree_priv.h')
-rw-r--r--epan/stats_tree_priv.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/stats_tree_priv.h b/epan/stats_tree_priv.h
index 2a2fadf139..ce817e6634 100644
--- a/epan/stats_tree_priv.h
+++ b/epan/stats_tree_priv.h
@@ -29,6 +29,10 @@
#include "stats_tree.h"
#include "ws_symbol_export.h"
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#define INDENT_MAX 32
#define NUM_BUF_SIZE 32
@@ -181,7 +185,7 @@ WS_DLL_PUBLIC void stats_tree_free(stats_tree *st);
WS_DLL_PUBLIC gchar *stats_tree_get_abbr(const gchar *optarg);
/** obtains a stats tree from the registry given its abbr */
-WS_DLL_PUBLIC stats_tree_cfg *stats_tree_get_cfg_by_abbr(gchar *abbr);
+WS_DLL_PUBLIC stats_tree_cfg *stats_tree_get_cfg_by_abbr(const char *abbr);
/** obtains a stats tree list from the registry
caller should free returned list with g_list_free() */
@@ -209,4 +213,8 @@ WS_DLL_PUBLIC guint stats_tree_branch_max_namelen(const stat_node *node, guint i
WS_DLL_PUBLIC gchar *stats_tree_node_to_str(const stat_node *node,
gchar *buffer, guint len);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* __STATS_TREE_PRIV_H */