diff options
author | Michael Mann <mmann78@netscape.net> | 2015-06-23 08:53:17 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-07-03 23:08:28 +0000 |
commit | a8ff1e2778b22ca55db752264eaf864d720ca8dc (patch) | |
tree | 1b7182449a95437aa6a0419519c92fcc08ca3aa0 /ui/gtk/simple_stattable.h | |
parent | 09ea473cee9ef37335f2ef8247da94bc71d12bba (diff) |
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 <mmann78@netscape.net>
Diffstat (limited to 'ui/gtk/simple_stattable.h')
-rw-r--r-- | ui/gtk/simple_stattable.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ui/gtk/simple_stattable.h b/ui/gtk/simple_stattable.h new file mode 100644 index 0000000000..6256947d2e --- /dev/null +++ b/ui/gtk/simple_stattable.h @@ -0,0 +1,37 @@ +/* simple_stattable.h + * + * Based on response_time_delay_table.h + * + * Wireshark - Network traffic analyzer + * By Gerald Combs <gerald@wireshark.org> + * Copyright 1998 Gerald Combs + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef __SIMPLE_STAT_TABLE_H__ +#define __SIMPLE_STAT_TABLE_H__ + +#include <gtk/gtk.h> +#include "epan/stat_tap_ui.h" + +/** Register function to register dissectors that support a "simple" statistics table. + * + * @param data new_stat_tap_ui* representing dissetor stat table + * @param user_data is unused + */ +void register_simple_stat_tables(gpointer data, gpointer user_data); + +#endif /* __SIMPLE_STAT_TABLE_H__ */ |