Index: trunk/Ohana/src/relphot/include/relphot.h
===================================================================
--- trunk/Ohana/src/relphot/include/relphot.h	(revision 41467)
+++ trunk/Ohana/src/relphot/include/relphot.h	(revision 41473)
@@ -30,4 +30,5 @@
 
 typedef enum {
+  ZPT_STARS,
   ZPT_TGROUP,
   ZPT_MOSAIC,
@@ -458,5 +459,6 @@
 // int            PhotNsec;
 
-PhotCode      *refPhotcode;
+PhotCode *refPhotcode;
+int       USE_REFERENCE_WEIGHT;
 
 int MaxDensityUse;
@@ -633,7 +635,7 @@
 int           setMcalOutput       PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr));
 
-void          setMcal             PROTO((Catalog *catalog, int Nloop, int Poor, FlatCorrectionTable *flatcorr));
-int           setMmos             PROTO((Catalog *catalog, int Nloop, int Poor, FlatCorrectionTable *flatcorr));
-int           setMgrp             PROTO((Catalog *catalog, int Nloop, int Poor, FlatCorrectionTable *flatcorr));
+void          setMcal             PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr));
+int           setMmos             PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr));
+int           setMgrp             PROTO((Catalog *catalog, int Poor, FlatCorrectionTable *flatcorr));
 
 int           setMrel             PROTO((Catalog *catalog, int Ncatalog, FlatCorrectionTable *flatcorr));
@@ -834,4 +836,7 @@
 void dump_catalog (Catalog *catalog, off_t c, int Npass);
 
-void SetZeroPointModes (int nloop);
-int UseStandardOLS (int nloop, ZptFitModeType mode);
+void SetZptIteration (int current);
+int GetZptIteration (void);
+
+void SetZeroPointModes (void);
+int UseStandardOLS (ZptFitModeType mode);
