/* Walk one dissector table's list of handles calling a user supplied function on each entry.  */
void dissector_table_foreach_handle(const char *table_name, DATFunc_handle func, gpointer user_data)
/* Walk one dissector table's list of handles calling a user supplied function on each entry.  */
void dissector_table_foreach_handle(const char *table_name, DATFunc_handle func, gpointer user_data)
{
	dissector_table_t sub_dissectors = find_dissector_table(table_name);
	GSList *tmp;
	for (tmp = sub_dissectors->dissector_handles; tmp != NULL;
	     tmp = g_slist_next(tmp))
        func(table_name, tmp->data, user_data);
}