34 #ifndef _SINFONI_SINFO_STAR_INDEX_H_
35 #define _SINFONI_SINFO_STAR_INDEX_H_
38 typedef struct _star_index_ star_index;
42 star_index* star_index_load(
const char* fits_file);
46 star_index* star_index_create(
void);
49 int star_index_add(star_index* pindex,
double RA,
double DEC,
const char* star_name, cpl_table* ptable);
50 int star_index_remove_by_name(star_index* pindex,
const char* starname);
51 int start_index_get_size(star_index* pindex);
52 int star_index_save(star_index* pindex,
const char* fits_file_name);
53 cpl_table* star_index_get(star_index* pindex,
double RA,
double DEC,
double RA_EPS,
double DEC_EPS,
const char** pstar_name);
54 void star_index_delete(star_index* pindex);
55 void star_index_dump(star_index* pindex, FILE* pfile);