/* Return the adapter_info structure with a given index. Out-of-range indices return NULL.  */
const struct adapter_info* t3_get_adapter_info(unsigned int id)
/* Return the adapter_info structure with a given index. Out-of-range indices return NULL.  */
const struct adapter_info* t3_get_adapter_info(unsigned int id)
{
	return id < ARRAY_SIZE(t3_adap_info) ? &t3_adap_info[id] : NULL;
}