mtnames
if (mtnames[i].mt_type == idx)
mtname = mtnames[i].mt_name;
} mtnames[] = {
#define NNAMES NELEM(mtnames)