/* Walk one heuristic dissector table's list calling a user supplied function on each entry.  */
void heur_dissector_table_foreach(const char *table_name, DATFunc_heur func, gpointer user_data)
/* Walk one heuristic dissector table's list calling a user supplied function on each entry.  */
void heur_dissector_table_foreach(const char *table_name, DATFunc_heur func, gpointer user_data)
{
	heur_dissector_foreach_info_t info;
	heur_dissector_list_t         sub_dissectors = find_heur_dissector_list(table_name);
	info.table_name    = table_name;
	info.caller_func   = func;
	info.caller_data   = user_data;
	g_slist_foreach(sub_dissectors->dissectors,
			heur_dissector_table_foreach_func, &info);
}