@param idx Index
@paramout n Location to store the number of targets
@param getid Callback function to get the name for a target ID
@param hdr Header from indexed file
@return An array of pointers to the names on success; NULL on failure
@note The names are pointers into the header data structure. When cleaning
up, only the array should be freed, not the names.
@param idx Index @paramout n Location to store the number of targets @param getid Callback function to get the name for a target ID @param hdr Header from indexed file @return An array of pointers to the names on success; NULL on failure
@note The names are pointers into the header data structure. When cleaning up, only the array should be freed, not the names.