Index: trunk/psphot/src/psphot.h
===================================================================
--- trunk/psphot/src/psphot.h	(revision 29608)
+++ trunk/psphot/src/psphot.h	(revision 29936)
@@ -24,8 +24,9 @@
 bool            psphotModelTest (pmConfig *config, const pmFPAview *view, psMetadata *recipe);
 bool            psphotInit (void);
-bool            psphotReadout (pmConfig *config, const pmFPAview *view);
-bool            psphotReadoutFindPSF(pmConfig *config, const pmFPAview *view, psArray *inSources);
-bool            psphotReadoutKnownSources(pmConfig *config, const pmFPAview *view, psArray *inSources);
-bool            psphotReadoutMinimal(pmConfig *config, const pmFPAview *view);
+bool            psphotReadout (pmConfig *config, const pmFPAview *view, const char *filerule);
+bool            psphotReadoutFindPSF(pmConfig *config, const pmFPAview *view, const char *filerule, psArray *inSources);
+bool            psphotReadoutKnownSources(pmConfig *config, const pmFPAview *view, const char *filerule, psArray *inSources);
+bool            psphotReadoutForcedKnownSources(pmConfig *config, const pmFPAview *view, const char *filerule, psArray *inSources);
+bool            psphotReadoutMinimal(pmConfig *config, const pmFPAview *view, const char *filerule);
 
 bool            psphotReadoutCleanup (pmConfig *config, const pmFPAview *view, const char *filerule);
@@ -219,5 +220,5 @@
 bool            psphotFitSummary (void);
 
-bool            psphotLoadPSF (pmConfig *config, const pmFPAview *view);
+bool            psphotLoadPSF (pmConfig *config, const pmFPAview *view, const char *filerule);
 bool            psphotLoadPSFReadout (pmConfig *config, const pmFPAview *view, const char *outFilename, const char *inFilename, int index);
 
@@ -304,9 +305,14 @@
 pmConfig *psphotForcedArguments(int argc, char **argv);
 bool psphotForcedImageLoop (pmConfig *config);
-bool psphotForcedReadout(pmConfig *config, const pmFPAview *view);
+bool psphotForcedReadout(pmConfig *config, const pmFPAview *view, const char *filerule);
 
 pmConfig *psphotMakePSFArguments(int argc, char **argv);
 bool psphotMakePSFImageLoop (pmConfig *config);
-bool psphotMakePSFReadout(pmConfig *config, const pmFPAview *view);
+bool psphotMakePSFReadout(pmConfig *config, const pmFPAview *view, const char *filerule);
+
+int psphotFileruleCount(const pmConfig *config, const char *filerule);
+
+bool psphotAddKnownSources (pmConfig *config, const pmFPAview *view, const char *filerule, psArray *inSources);
+
 
 /**** psphotStack prototypes ****/
@@ -432,3 +438,5 @@
 pmModel *psphotFitPCM (pmReadout *readout, pmSource *source, pmSourceFitOptions *fitOptions, pmModelType modelType, psImageMaskType maskVal, psImageMaskType markVal, int psfSize);
 
+bool psphotCleanInputs (pmConfig *config, const pmFPAview *view, const char *filerule);
+
 #endif
