Index: trunk/ppStack/src/ppStack.h
===================================================================
--- trunk/ppStack/src/ppStack.h	(revision 23341)
+++ trunk/ppStack/src/ppStack.h	(revision 23573)
@@ -7,4 +7,6 @@
 #include <pslib.h>
 #include <psmodules.h>
+
+#include "ppStackOptions.h"
 
 // Mask values for inputs
@@ -106,11 +108,6 @@
 /// Convolve image to match specified seeing
 bool ppStackMatch(pmReadout *readout,   // Readout to be convolved; replaced with output
-                  psArray **regions,    // Array of regions used in each PSF matching, returned
-                  psArray **kernels,    // Array of kernels used in each PSF matching, returned
-                  float *chi2,          // Chi^2 from the stamps
-                  float *weighting,     // Stack weighting (1/noise^2)
-                  psArray *sources,     // Array of sources
-                  const pmPSF *psf,     // Target PSF
-                  psRandom *rng,        // Random number generator
+                  ppStackOptions *options, // Options for stacking
+                  int index,            // Index of image to match
                   const pmConfig *config // Configuration
     );
@@ -120,8 +117,7 @@
 ///
 /// Corrects the source PSF photometry to a common system.  Return the sum of the exposure times.
-float ppStackSourcesTransparency(const psArray *sourceLists, // Sources for each input
-                                 psVector *inputMask, // Indicates bad input
-                                 const pmFPAview *view, // View to readout
-                                 const pmConfig *config // Configuration
+bool ppStackSourcesTransparency(ppStackOptions *options, // Stacking options
+                                const pmFPAview *view, // View to readout
+                                const pmConfig *config // Configuration
     );
 
