Search for debtyp_t in debtyp[]. If it is there, return the index of it, and free d. Otherwise, add it.
index in debtyp[]
See Implementation
Search for debtyp_t in debtyp[]. If it is there, return the index of it, and free d. Otherwise, add it.