Index: trunk/psphot/src/psModulesUtils.h
===================================================================
--- trunk/psphot/src/psModulesUtils.h	(revision 5718)
+++ trunk/psphot/src/psModulesUtils.h	(revision 6117)
@@ -9,4 +9,29 @@
 # include "psLibUtils.h"
 
+// How much of the FPA to load at a time
+typedef enum {
+    PP_LOAD_NONE,                       // Don't load anything
+    PP_LOAD_FPA,                        // Load the entire FPA at once
+    PP_LOAD_CHIP,                       // Load by chip
+    PP_LOAD_CELL,                       // Load by cell
+} ppImageLoadDepth;
+
+// Configuration data
+typedef struct {
+    psMetadata *site;                   // The site configuration
+    psMetadata *camera;                 // The camera configuration
+    psMetadata *recipe;                 // The recipe (i.e., specific setups)
+    psMetadata *arguments;              // The command-line arguments
+    psDB       *database;               // Database handle
+} ppConfig;
+
+// A file to process
+typedef struct {
+    char *filename;                     // File name
+    psFits *fits;                       // The FITS file handle
+    psMetadata *phu;                    // The FITS header
+    pmFPA *fpa;                         // The FPA, with pixels and extensions
+} ppFile;
+
 // psModule extra utilities
 // bool	     pmSourceFitModel_EAM(pmSource *source, pmModel *model, const bool PSF);
@@ -18,4 +43,9 @@
 // unify with paul's image/header/metadata functions
 psF32        pmConfigLookupF32 (bool *status, psMetadata *config, psMetadata *header, char *name);
+pmModel *pmModelSelect (pmSource *source);
+
+ppConfig       *ppConfigAlloc (void);
+ppFile         *ppFileAlloc (void);
+psMetadata    *pmReadoutGetHeader (pmReadout *readout);
 
 # endif
