Index: trunk/archive/modules/include/phase2.h
===================================================================
--- trunk/archive/modules/include/phase2.h	(revision 749)
+++ trunk/archive/modules/include/phase2.h	(revision 757)
@@ -40,7 +40,17 @@
 /** Image regions */
 typedef struct {
-    int x0, y0;				///< Offset to region
-    int nRow, nCol;			///< Size of region
+    const int x0, y0;			///< Offset to region
+    const int nRow, nCol;		///< Size of region
 } psImageRegion;
+
+/** Constructor */
+psImageRegion *psImageRegionAlloc(int x0, ///< x offset to region
+				  int y0, ///< y offset to region
+				  int nRow, ///< Number of rows in region
+				  int nCol ///< Number of columns in region
+				  );
+/** Destructor */
+void psImageRegionFree(psImageRegion *reg ///< Region to destroy
+		       );
 
 /** Array of image regions */
@@ -49,4 +59,12 @@
     psImageRegion *arr;			///< Array of image regions
 } psImageRegionArray;
+
+/** Constructor */
+psImageRegionArray *psImageRegionArrayAlloc(int n ///< Number of entries to allocate
+					    );
+
+/** Destructor */
+void psImageRegionArrayFree(psImageRegionArray *reg ///< Array of regions to destroy
+			    );
 
 /** Subtracts an overscan and bias from the input image. */
