aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/response_time_delay_table.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2015-06-20 12:22:22 -0400
committerAnders Broman <a.broman58@gmail.com>2015-06-22 15:13:39 +0000
commit8f390d497577937dee7311f345b77c840ba42e15 (patch)
treed59679646ab38e4c22d7773cd00003719be028e7 /ui/gtk/response_time_delay_table.h
parent8b230eabddf11becf4ae895fba17f43a3415716e (diff)
Refactor RTD stats.
Very similar to the refactoring of SRT stats, it provides more commonality of the stats for all GUI interfaces. Currently implemented for TShark and GTK. Affected dissectors: MEGACO, MGCP, Radius Change-Id: Icb73a7e603dc3502b39bf696227fcaae37d4ed21 Reviewed-on: https://code.wireshark.org/review/8998 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/gtk/response_time_delay_table.h')
-rw-r--r--ui/gtk/response_time_delay_table.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/ui/gtk/response_time_delay_table.h b/ui/gtk/response_time_delay_table.h
new file mode 100644
index 0000000000..11cf0b328d
--- /dev/null
+++ b/ui/gtk/response_time_delay_table.h
@@ -0,0 +1,42 @@
+/* response_time_delay_table.h
+ *
+ * Based on service_response_time_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 __RESPONSE_TIME_DELAY_TABLE_H__
+#define __RESPONSE_TIME_DELAY_TABLE_H__
+
+#include <gtk/gtk.h>
+#include "wsutil/nstime.h"
+#include "epan/rtd_table.h"
+
+
+/** Suggested width of RTD window */
+#define RTD_PREFERRED_WIDTH 650
+
+/** Register function to register dissectors that support RTD for GTK.
+ *
+ * @param data register_rtd_t* representing dissetor RTD table
+ * @param user_data is unused
+ */
+void register_response_time_delay_tables(gpointer data, gpointer user_data);
+
+#endif /* __RESPONSE_TIME_DELAY_TABLE_H__ */