diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-09-25 14:33:54 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-09-27 16:19:05 +0000 |
commit | 6d10efc6dd66c70110581b8c49cc3da0f0a72a25 (patch) | |
tree | 6f922060b2096a8747763eaecb13522b918d109e /epan/packet.c | |
parent | d4b3a96830d580572ac42e7d03b78c47fe34bbf2 (diff) |
Qt: Add the Dissector Tables dialog.
Add the "Internals" menu under the View menu instead of at the top level
for now at least. Add the Dissector Tables dialog there.
Change-Id: Ieb23b0015591bac196e4ef94e3443832288333f9
Reviewed-on: https://code.wireshark.org/review/10654
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'epan/packet.c')
-rw-r--r-- | epan/packet.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/packet.c b/epan/packet.c index 25378b4846..64c3e0d913 100644 --- a/epan/packet.c +++ b/epan/packet.c @@ -2279,7 +2279,7 @@ dissector_all_heur_tables_foreach_table_func (gpointer key, const gpointer value heur_dissector_foreach_table_info_t *info; info = (heur_dissector_foreach_table_info_t *)user_data; - (*info->caller_func)((gchar*)key, (heur_dissector_list_t *)value, info->caller_data); + (*info->caller_func)((gchar*)key, (struct heur_dissector_list *)value, info->caller_data); } /* @@ -2289,10 +2289,10 @@ dissector_all_heur_tables_foreach_table_func (gpointer key, const gpointer value static void dissector_all_heur_tables_foreach_list_func (gpointer key, gpointer user_data) { - heur_dissector_list_t *list; + struct heur_dissector_list *list; heur_dissector_foreach_table_info_t *info; - list = (heur_dissector_list_t *)g_hash_table_lookup(heur_dissector_lists, key); + list = (struct heur_dissector_list *)g_hash_table_lookup(heur_dissector_lists, key); info = (heur_dissector_foreach_table_info_t *)user_data; (*info->caller_func)((gchar*)key, list, info->caller_data); } @@ -2337,7 +2337,7 @@ display_heur_dissector_table_entries(const char *table_name, } static void -dissector_dump_heur_decodes_display(const gchar *table_name, heur_dissector_list_t *listptr _U_, const gpointer user_data _U_) +dissector_dump_heur_decodes_display(const gchar *table_name, struct heur_dissector_list *listptr _U_, const gpointer user_data _U_) { heur_dissector_table_foreach(table_name, display_heur_dissector_table_entries, NULL); } |