Index: trunk/Ohana/src/relphot/include/relphot.h
===================================================================
--- trunk/Ohana/src/relphot/include/relphot.h	(revision 39464)
+++ trunk/Ohana/src/relphot/include/relphot.h	(revision 39478)
@@ -418,5 +418,5 @@
 Catalog      *load_catalogs_parallel PROTO((SkyList *sky, int *Ncatalog, char *syncfile));
 
-SkyList      *load_images         PROTO((FITS_DB *db, char *regionName, SkyRegion *region));
+SkyList      *load_images         PROTO((FITS_DB *db, SkyTable *sky, char *regionName, SkyRegion *region));
 Image        *select_images       PROTO((SkyList *skylist, Image *timage, off_t Ntimage, char *inSubset, off_t **LineNumber, off_t *Nimage, SkyRegion *region));
 
@@ -475,5 +475,5 @@
 void          wimages             PROTO((void));
 void          write_coords        PROTO((Header *header, Coords *coords));
-int relphot_objects (int hostID, char *hostpath);
+int relphot_objects (SkyTable *sky, SkyList *skylist, int hostID, char *hostpath);
 int relphot_images (void);
 
@@ -597,2 +597,8 @@
 int getMosaicFlags (off_t meas, int cat);
 
+void relphot_free (SkyTable *sky, SkyList *skylist);
+void freeImages ();
+void relphot_client_free (SkyTable *sky, SkyList *skylist);
+void BrightCatalogFree (BrightCatalog *bcatalog);
+
+void free_astrom_table ();
