Index: trunk/archive/pslib/include/psBitMask.h
===================================================================
--- trunk/archive/pslib/include/psBitMask.h	(revision 153)
+++ trunk/archive/pslib/include/psBitMask.h	(revision 213)
@@ -2,7 +2,19 @@
 #define PS_BIT_MASK_H
 
-/** Type for a big bitmask.  Set to long int for now. */
-typedef long int psBitMask;
+/** A bitmask of arbitrary length. */
+typedef struct {
+    int n;				//!< Number of chars that form the mask
+    char *bits;				//!< The bits
+} psBitMask;
 
+/** Constructor */
+psBitMask *psBitMaskAlloc(int n		//!< Number of bits required
+    );
+
+/** Destructor */
+void psBitMaskFree(psBitMask *restrict myMask //!< Bit mask to destroy
+    );
+
+/************************************************************************************************************/
 
 /** Set a bit mask */
@@ -33,4 +45,3 @@
     );
 
-
 #endif
