Index: /trunk/pois/src/pois.h
===================================================================
--- /trunk/pois/src/pois.h	(revision 3806)
+++ /trunk/pois/src/pois.h	(revision 3807)
@@ -3,4 +3,5 @@
 
 #include "pslib.h"
+#include "poisErrorCodes.h"
 
 #define abs(x) ((x) >= 0 ? (x) : (-(x)))
@@ -77,7 +78,9 @@
 
 // Print usage information
-void help(void);
+//void help(void);
 
 // Parse the command line arguments
+poisConfig *restrict poisConfigAlloc(void);
+
 poisConfig *poisParseConfig(int argc,	// Number of command-line arguments
 			    char **argv	// Command-line arguments
@@ -108,5 +111,5 @@
 
 // Find stamps
-psArray *poisFindStamps(psArray *stamps, // Existing list of stamps, or NULL
+psArray *poisFindStamps(psArray *stampsIO, // Existing list of stamps, or NULL
 			const psImage *image, // Image for which to find stamps
 			const psImage *mask, // Mask image
@@ -155,5 +158,5 @@
 
 // Calculate deviations from the best fit for the stamps
-psVector *poisCalculateDeviations(psVector *deviations,	// Output array of deviations, or NULL
+psVector *poisCalculateDeviations(psVector *deviationsIO, // Output array of deviations, or NULL
 				  psArray *stamps, // Array of stamps
 				  psImage *refImage, // Reference image
@@ -181,5 +184,5 @@
 
 // Solve the matrix equation
-psVector *poisSolveEquation(psVector *solution,	// Solution vector, or NULL
+psVector *poisSolveEquation(psVector *solutionIO,	// Solution vector, or NULL
 			    const psArray *stamps, // Array of stamps
 			    const poisConfig *config
@@ -200,3 +203,14 @@
 /************************************************************************************************************/
 
+psImage *poisImageSetVal(psImage *restrict IO,	     // Input image
+			 const psC64 val	     // set to this value
+    );
+
+psImage *poisImageSetValInMask(psImage *IO,			// Image to update, or NULL
+			       const psImage *restrict in,	// Input image
+			       const psImage *mask,		// mask for image
+			       const psC64 val,			// set to this value
+			       const unsigned long bits		// set pixels where mask & bits != 0
+    );
+
 #endif
