summaryrefslogtreecommitdiff
path: root/epan/stat_tap_ui.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-07-07 16:18:00 -0700
committerGerald Combs <gerald@wireshark.org>2015-07-08 17:01:15 +0000
commit4eca2689357fad460908c2b7a74cbdb8cb5d0f4e (patch)
treeca2ef75e2a451b0d1c3f8f632ee30fdfb1a22240 /epan/stat_tap_ui.h
parentd3f71f923a67547974c09e4a90e6865c34e0163e (diff)
downloadwireshark-4eca2689357fad460908c2b7a74cbdb8cb5d0f4e.tar.gz
Add SimpleStatisticsDialog.
To do: - Refactor dynamic menu item placement. Change-Id: I087de9f2fa3c2ff7dc08e5d54bc9c1b984fdd7b1 Reviewed-on: https://code.wireshark.org/review/9561 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/stat_tap_ui.h')
-rw-r--r--epan/stat_tap_ui.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/stat_tap_ui.h b/epan/stat_tap_ui.h
index 3877a5aa9e..b8661b778c 100644
--- a/epan/stat_tap_ui.h
+++ b/epan/stat_tap_ui.h
@@ -100,7 +100,7 @@ typedef struct _stat_tap_table_item
stat_tap_table_item_enum type;
tap_alignment_type align;
const char* column_name;
- const char* field_format; /* printf style formating of field */
+ const char* field_format; /* printf style formating of field. Currently unused? */
} stat_tap_table_item;
@@ -116,9 +116,9 @@ typedef struct _stat_tap_table
} new_stat_tap_table;
-typedef void (*new_stat_tap_gui_init_cb)(new_stat_tap_table* stat_table, void* gui_data);
-typedef void (*new_stat_tap_gui_reset_cb)(new_stat_tap_table* stat_table, void* gui_data);
-typedef void (*new_stat_tap_gui_free_cb)(new_stat_tap_table* stat_table, void* gui_data);
+typedef void (*new_stat_tap_gui_init_cb)(new_stat_tap_table* stat_table, void* gui_data); /* GTK+ only? */
+typedef void (*new_stat_tap_gui_reset_cb)(new_stat_tap_table* stat_table, void* gui_data); /* GTK+ only? */
+typedef void (*new_stat_tap_gui_free_cb)(new_stat_tap_table* stat_table, void* gui_data); /* GTK+ only? */
/*
* UI information for a tap.
@@ -164,7 +164,7 @@ WS_DLL_PUBLIC new_stat_tap_table* new_stat_tap_init_table(const char *name, int
WS_DLL_PUBLIC void new_stat_tap_add_table(new_stat_tap_ui* new_stat, new_stat_tap_table* table);
WS_DLL_PUBLIC void new_stat_tap_init_table_row(new_stat_tap_table *stat_table, guint table_index, guint num_fields, stat_tap_table_item_type* fields);
-WS_DLL_PUBLIC stat_tap_table_item_type* new_stat_tap_get_field_data(new_stat_tap_table *stat_table, guint table_index, guint field_index);
+WS_DLL_PUBLIC stat_tap_table_item_type* new_stat_tap_get_field_data(const new_stat_tap_table *stat_table, guint table_index, guint field_index);
WS_DLL_PUBLIC void new_stat_tap_set_field_data(new_stat_tap_table *stat_table, guint table_index, guint field_index, stat_tap_table_item_type* field_data);
WS_DLL_PUBLIC void reset_stat_table(new_stat_tap_ui* new_stat, new_stat_tap_gui_reset_cb gui_callback, void *callback_data);
WS_DLL_PUBLIC void free_stat_table(new_stat_tap_ui* new_stat, new_stat_tap_gui_free_cb gui_callback, void *callback_data);