/* Called for each entry in the table of all dissector tables.  */
static void dissector_all_tables_foreach_func(gpointer key, gpointer value, gpointer user_data)
/* Called for each entry in the table of all dissector tables.  */
static void dissector_all_tables_foreach_func(gpointer key, gpointer value, gpointer user_data)
{
	dissector_table_t         sub_dissectors;
	dissector_foreach_info_t *info;
	g_assert(value);
	g_assert(user_data);
	sub_dissectors = (dissector_table_t)value;
	info = (dissector_foreach_info_t *)user_data;
	info->table_name = (gchar*) key;
	info->selector_type = get_dissector_table_selector_type(info->table_name);
	g_hash_table_foreach(sub_dissectors->hash_table, info->next_func, info);
}