#ifndef TA_TARGET_H
#define TA_TARGET_H

#ifdef __cplusplus
extern "C" {
#endif

#include <dervish.h>
#include "taCalibObj.h"
#include "taQuasars.h"
#include "taGalaxies.h"
#include "taStars.h"
#include "taSerendipity.h"
#include "taStandards.h"
#include "taCatalogs.h"
#include "taRosat.h"

/* Forward declarations */
RET_CODE
taTargetSelectFromChain(CHAIN *objs,
			const TA_GALAXIES_PARAMS *galaxiesParams,
			const TA_QUASARS_PARAMS *quasarsParams,
			const TA_SERENDIPITY_PARAMS *serendipityParams,
			const TA_ROSAT_PARAMS *rosatParams,
			const TA_STARS_PARAMS *starsParams,
			const TA_STANDARDS_PARAMS *standardsParams,
			TA_FIRST_CATALOG *first,
			TA_ROSAT_CATALOG *rosat,
			TA_USNO_CATALOG *usno);
RET_CODE
taTargetSelectFromObj(TA_CALIB_OBJ *obj,
		      const TA_GALAXIES_PARAMS *galaxiesParams,
		      const TA_QUASARS_PARAMS *quasarsParams,
		      const TA_SERENDIPITY_PARAMS *serendipityParams,
		      const TA_ROSAT_PARAMS *rosatParams,
		      const TA_STARS_PARAMS *starsParams,
		      const TA_STANDARDS_PARAMS *standardsParams,
		      TA_FIRST_CATALOG *first,
		      TA_ROSAT_CATALOG *rosat,
		      TA_USNO_CATALOG *usno);

#ifdef __cplusplus
}
#endif

#endif
