/* Look for a given value in a given guid dissector table and, if found, return the current dissector handle for that value. */
dissector_handle_t dissector_get_guid_handle(dissector_table_t const sub_dissectors, guid_key *guid_val)
/* Look for a given value in a given guid dissector table and, if found, return the current dissector handle for that value. */
dissector_handle_t dissector_get_guid_handle(dissector_table_t const sub_dissectors, guid_key *guid_val)
{
	dtbl_entry_t *dtbl_entry;
	dtbl_entry = (dtbl_entry_t *)g_hash_table_lookup(sub_dissectors->hash_table, guid_val);
	if (dtbl_entry != NULL)
		return dtbl_entry->current;
	else
		return NULL;
}