Index: trunk/Ohana/src/imregister/include/photreg.h
===================================================================
--- trunk/Ohana/src/imregister/include/photreg.h	(revision 3466)
+++ trunk/Ohana/src/imregister/include/photreg.h	(revision 3536)
@@ -27,27 +27,18 @@
 int args (int argc, char **argv);
 int regargs (int argc, char **argv, PhotPars *);
-PhotPars *get_images (int *N);
-int set_images (PhotPars *new, int Nnew);
-int load_db ();
-void init_db ();
-int save_db ();
-int update_db (int *match, int Nmatch);
-int append_db (PhotPars *new, int Nnew);
-int create_db ();
-int close_db ();
-void DeleteSubset (int *match, int Nmatch);
-int *match_criteria (int *Nmatch);
-int *match_images (PhotPars *subset, int Nsubset, int *Nmatch);
-void ModifySubset (int *match, int Nmatch);
-void OutputSubset (int *match, int Nmatch);
+
+void DeleteSubset (FITS_DB *db, PhotPars *photpars, int Nphotpars, int *match, int Nmatch);
+int *match_criteria (PhotPars *photpars, int Nphotpars, int *Nmatch);
+
+void OutputSubset (PhotPars *photpars, int Nphotpars, int *match, int Nmatch);
+
 void DumpFitsBintable (char *filename, PhotPars *image, int *match, int Nmatch);
 void DumpFitsTable (char *filename, PhotPars *image, int *match, int Nmatch);
 int PrintSubset (PhotPars *image, int *match, int Nmatch);
-int define_table (Header *header, Matrix *matrix, Header *theader, FTable *table);
+
 void set_timezone (double dt);
-void DumpCADCTable (char *filename, PhotPars *image, int *match, int Nmatch);
 void getImageData (char *Image, char *ImageCCD, char *ImageMode);
-void set_Binary_name (char *name);
-void set_ASCII_name (char *string);
-int load_old_db ();
 int escape (int mode, char *message);
+
+PhotPars *PhotParsOld_to_PhotPars (PhotParsOld *input, int Nphotpars);
+
