Index: trunk/ppStack/src/ppStack.h
===================================================================
--- trunk/ppStack/src/ppStack.h	(revision 16605)
+++ trunk/ppStack/src/ppStack.h	(revision 16693)
@@ -2,5 +2,6 @@
 #define PP_STACK_H
 
-#define PPSTACK_RECIPE "PPSTACK"
+#define PPSTACK_RECIPE "PPSTACK"        // Name of the recipe
+#define PPSTACK_REJECTED_PIXELS "PPSTACK.PIXELS" // Name of rejected pixels metadata items
 
 #include <psmodules.h>
@@ -26,9 +27,16 @@
 
 // Perform stacking on a readout
-bool ppStackReadout(const pmConfig *config,   // Configuration
+bool ppStackReadoutInitial(const pmConfig *config,   // Configuration
                     pmReadout *outRO,   // Output readout
                     const psArray *readouts, // Input readouts
                     const psArray *regions, // Array with array of regions used in each PSF matching
                     const psArray *kernels // Array with array of kernels used in each PSF matching
+    );
+
+// Perform stacking on a readout
+bool ppStackReadoutFinal(const pmConfig *config,   // Configuration
+                         pmReadout *outRO,   // Output readout
+                         const psArray *readouts, // Input readouts
+                         const psArray *rejected // Array with pixels rejected in each image
     );
 
