Index: trunk/Ohana/src/relphot/include/relphot.h
===================================================================
--- trunk/Ohana/src/relphot/include/relphot.h	(revision 35416)
+++ trunk/Ohana/src/relphot/include/relphot.h	(revision 35759)
@@ -17,4 +17,6 @@
 # define GRID_V2
 # define NO_IMAGE -100
+
+# define ID_SECF_STACK_PRIMARY 0x00004000
 
 // choose off_t or int depending on full-scale relphot analysis resources
@@ -114,4 +116,6 @@
   unsigned int photom_map_id;
   unsigned int flags;
+  int projID;
+  int skycellID;
   unsigned int tzero;
   unsigned char trate;
@@ -149,4 +153,5 @@
 char        *IMAGES;
 char        *BCATALOG;
+char        *BOUNDARY_TREE;
 ModeType     MODE;
 
@@ -328,4 +333,9 @@
 void          plot_star_coords    PROTO((Catalog *catalog, int Ncatalog));
 void          plot_stars          PROTO((Catalog *catalog, int Ncatalog));
+
+void          plot_list_add       PROTO((Graphdata *graphdata, double *xlist, double *ylist, int N));
+int           get_graph           PROTO((int N));
+int           open_graph          PROTO((int N));
+
 void          reload_catalogs     PROTO((SkyList *skylist, FlatCorrectionTable *flatcorr, int hostID, char *hostpath));
 int           reload_catalogs_parallel PROTO((SkyList *sky));
@@ -390,7 +400,9 @@
 
 int MatchImageName (off_t meas, int cat, char *name);
+int MatchImageSkycellID (off_t meas, int cat, int myProjectionID, int mySkycellID);
 
 int load_tree (char *treefile);
 int BoundaryTreePrimaryCell (char *primaryCellName, double ra, double dec);
+int BoundaryTreePrimaryCellIDs (int *projID, int *skycellID, double ra, double dec);
 
 int print_measure_set_alt (Average *average, SecFilt *secfilt, Measure *measure);
