From a8ff1e2778b22ca55db752264eaf864d720ca8dc Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Tue, 23 Jun 2015 08:53:17 -0400 Subject: Create very basic "generic" stat tap API to create a "GUI" independent table. A few sample tap/dissectors (ANSI/A, ANSI MAP) are also included to test the API. The "GUI output" is a bit raw and could use some "prettying up", but all the basic hooks are there. Telephony "stat grouping" needs to be better alphabetized to properly populate menu (on GTK, probably Qt) Change-Id: I98514171f69c4ab3a304dccb26c71d629703c9ab Reviewed-on: https://code.wireshark.org/review/9110 Reviewed-by: Michael Mann --- ui/gtk/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ui/gtk/main.c') diff --git a/ui/gtk/main.c b/ui/gtk/main.c index 32d2dbe05f..3a5efb4f92 100644 --- a/ui/gtk/main.c +++ b/ui/gtk/main.c @@ -195,6 +195,7 @@ #include "ui/gtk/hostlist_table.h" #include "ui/gtk/service_response_time_table.h" #include "ui/gtk/response_time_delay_table.h" +#include "ui/gtk/simple_stattable.h" #include "simple_dialog.h" #include "ui/gtk/old-gtk-compat.h" @@ -2537,6 +2538,7 @@ DIAG_ON(cast-qual) hostlist_table_set_gui_info(init_hostlist_table); srt_table_iterate_tables(register_service_response_tables, NULL); rtd_table_iterate_tables(register_response_time_delay_tables, NULL); + new_stat_tap_iterate_tables(register_simple_stat_tables, NULL); splash_update(RA_PREFERENCES, NULL, (gpointer)splash_win); -- cgit v1.2.3