Index: /trunk/psLib/src/collections/psHash.c
===================================================================
--- /trunk/psLib/src/collections/psHash.c	(revision 4342)
+++ /trunk/psLib/src/collections/psHash.c	(revision 4343)
@@ -12,6 +12,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-06-18 02:30:49 $
+*  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-06-22 03:00:27 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -343,7 +343,7 @@
     boolean value defining success or failure
  *****************************************************************************/
-psBool psHashAdd(psHash* table,
-                 const char *key,
-                 psPtr data)
+bool psHashAdd(psHash* table,
+               const char *key,
+               psPtr data)
 {
     PS_ASSERT_PTR_NON_NULL(table, false);
@@ -365,5 +365,5 @@
     The data associated with that key.
  *****************************************************************************/
-psPtr psHashLookup(psHash* table,      // table to lookup key in
+psPtr psHashLookup(const psHash* table,      // table to lookup key in
                    const char *key)     // key to lookup
 {
@@ -371,5 +371,5 @@
     PS_ASSERT_PTR_NON_NULL(key, NULL);
 
-    return doHashWork(table, key, NULL, false);
+    return doHashWork((psPtr)table, key, NULL, false);
 }
 
@@ -402,5 +402,5 @@
 }
 
-psArray* psHashToArray(psHash* table)
+psArray* psHashToArray(const psHash* table)
 {
     PS_ASSERT_PTR_NON_NULL(table, NULL);
Index: /trunk/psLib/src/collections/psHash.h
===================================================================
--- /trunk/psLib/src/collections/psHash.h	(revision 4342)
+++ /trunk/psLib/src/collections/psHash.h	(revision 4343)
@@ -11,6 +11,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-18 02:30:49 $
+ *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-22 03:00:27 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -51,5 +51,5 @@
 
 /// Insert entry into table.
-psBool psHashAdd(
+bool psHashAdd(
     psHash* table,                     ///< The table to insert in.
     const char *key,                   ///< The key to use.
@@ -59,5 +59,5 @@
 /// Lookup key in table.
 psPtr psHashLookup(
-    psHash* table,                     ///< The table to lookup key in.
+    const psHash* table,               ///< The table to lookup key in.
     const char *key                    ///< The key to lookup.
 );
@@ -79,5 +79,5 @@
  */
 psArray* psHashToArray(
-    psHash* table                 ///< The table to convert to psArray.
+    const psHash* table                ///< The table to convert to psArray.
 );
 
Index: /trunk/psLib/src/dataIO/psFits.c
===================================================================
--- /trunk/psLib/src/dataIO/psFits.c	(revision 4342)
+++ /trunk/psLib/src/dataIO/psFits.c	(revision 4343)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-22 02:05:41 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-22 03:00:27 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -794,6 +794,6 @@
 }
 
-bool psFitsWriteImage(const psFits* fits,
-                      const psMetadata* header,
+bool psFitsWriteImage(psFits* fits,
+                      psMetadata* header,
                       const psImage* input,
                       int numZPlanes)
@@ -845,5 +845,5 @@
     // write the header, if any.
     if (header != NULL) {
-        psFitsWriteHeader(header, fits);
+        psFitsWriteHeader(header, (psPtr)fits);
     }
 
@@ -1020,5 +1020,5 @@
 
 bool psFitsWriteHeader(const psMetadata* output,
-                       const psFits* fits)
+                       psFits* fits)
 {
 
@@ -1446,7 +1446,7 @@
 }
 
-bool psFitsWriteTable(const psFits* fits,
-                      psMetadata* header,
-                      psArray* table)
+bool psFitsWriteTable(psFits* fits,
+                      const psMetadata* header,
+                      const psArray* table)
 {
     int status = 0;
@@ -1634,6 +1634,6 @@
 }
 
-bool psFitsUpdateTable(const psFits* fits,
-                       psMetadata* data,
+bool psFitsUpdateTable(psFits* fits,
+                       const psMetadata* data,
                        int row)
 {
@@ -1668,5 +1668,5 @@
     }
 
-    psMetadataIterator* iter = psMetadataIteratorAlloc(data,PS_LIST_HEAD,NULL);
+    psMetadataIterator* iter = psMetadataIteratorAlloc((psPtr)data,PS_LIST_HEAD,NULL);
 
     psMetadataItem* item;
Index: /trunk/psLib/src/dataIO/psFits.h
===================================================================
--- /trunk/psLib/src/dataIO/psFits.h	(revision 4342)
+++ /trunk/psLib/src/dataIO/psFits.h	(revision 4343)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-22 02:05:41 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-22 03:00:27 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -156,5 +156,5 @@
 bool psFitsWriteHeader(
     const psMetadata* output,          ///< the psMetadata data in which to write
-    const psFits* fits                 ///< the psFits object
+    psFits* fits                       ///< the psFits object
 );
 
@@ -175,6 +175,6 @@
  */
 bool psFitsWriteImage(
-    const psFits* fits,                ///< the psFits object
-    const psMetadata* header,          ///< header items for the new HDU.  Can be NULL.
+    psFits* fits,                      ///< the psFits object
+    psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
     const psImage* input,              ///< the image to output
     int depth                          ///< the number of z-planes of the FITS image data cube
@@ -245,7 +245,7 @@
  */
 bool psFitsWriteTable(
-    const psFits* fits,                ///< the psFits object
-    psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
-    psArray* table
+    psFits* fits,                      ///< the psFits object
+    const psMetadata* header,          ///< header items for the new HDU.  Can be NULL.
+    const psArray* table
     ///< Array of psMetadata items, which contains the output data items of each row.
 );
@@ -259,6 +259,6 @@
  */
 bool psFitsUpdateTable(
-    const psFits* fits,                ///< the psFits object
-    psMetadata* data,
+    psFits* fits,                ///< the psFits object
+    const psMetadata* data,
     ///< Array of psMetadata items, which contains the output data items of each row.
     int row                            ///< the row number to update.
Index: /trunk/psLib/src/fits/psFits.c
===================================================================
--- /trunk/psLib/src/fits/psFits.c	(revision 4342)
+++ /trunk/psLib/src/fits/psFits.c	(revision 4343)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-22 02:05:41 $
+ *  @version $Revision: 1.38 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-22 03:00:27 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -794,6 +794,6 @@
 }
 
-bool psFitsWriteImage(const psFits* fits,
-                      const psMetadata* header,
+bool psFitsWriteImage(psFits* fits,
+                      psMetadata* header,
                       const psImage* input,
                       int numZPlanes)
@@ -845,5 +845,5 @@
     // write the header, if any.
     if (header != NULL) {
-        psFitsWriteHeader(header, fits);
+        psFitsWriteHeader(header, (psPtr)fits);
     }
 
@@ -1020,5 +1020,5 @@
 
 bool psFitsWriteHeader(const psMetadata* output,
-                       const psFits* fits)
+                       psFits* fits)
 {
 
@@ -1446,7 +1446,7 @@
 }
 
-bool psFitsWriteTable(const psFits* fits,
-                      psMetadata* header,
-                      psArray* table)
+bool psFitsWriteTable(psFits* fits,
+                      const psMetadata* header,
+                      const psArray* table)
 {
     int status = 0;
@@ -1634,6 +1634,6 @@
 }
 
-bool psFitsUpdateTable(const psFits* fits,
-                       psMetadata* data,
+bool psFitsUpdateTable(psFits* fits,
+                       const psMetadata* data,
                        int row)
 {
@@ -1668,5 +1668,5 @@
     }
 
-    psMetadataIterator* iter = psMetadataIteratorAlloc(data,PS_LIST_HEAD,NULL);
+    psMetadataIterator* iter = psMetadataIteratorAlloc((psPtr)data,PS_LIST_HEAD,NULL);
 
     psMetadataItem* item;
Index: /trunk/psLib/src/fits/psFits.h
===================================================================
--- /trunk/psLib/src/fits/psFits.h	(revision 4342)
+++ /trunk/psLib/src/fits/psFits.h	(revision 4343)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-22 02:05:41 $
+ *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-22 03:00:27 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -156,5 +156,5 @@
 bool psFitsWriteHeader(
     const psMetadata* output,          ///< the psMetadata data in which to write
-    const psFits* fits                 ///< the psFits object
+    psFits* fits                       ///< the psFits object
 );
 
@@ -175,6 +175,6 @@
  */
 bool psFitsWriteImage(
-    const psFits* fits,                ///< the psFits object
-    const psMetadata* header,          ///< header items for the new HDU.  Can be NULL.
+    psFits* fits,                      ///< the psFits object
+    psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
     const psImage* input,              ///< the image to output
     int depth                          ///< the number of z-planes of the FITS image data cube
@@ -245,7 +245,7 @@
  */
 bool psFitsWriteTable(
-    const psFits* fits,                ///< the psFits object
-    psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
-    psArray* table
+    psFits* fits,                      ///< the psFits object
+    const psMetadata* header,          ///< header items for the new HDU.  Can be NULL.
+    const psArray* table
     ///< Array of psMetadata items, which contains the output data items of each row.
 );
@@ -259,6 +259,6 @@
  */
 bool psFitsUpdateTable(
-    const psFits* fits,                ///< the psFits object
-    psMetadata* data,
+    psFits* fits,                ///< the psFits object
+    const psMetadata* data,
     ///< Array of psMetadata items, which contains the output data items of each row.
     int row                            ///< the row number to update.
Index: /trunk/psLib/src/types/psHash.c
===================================================================
--- /trunk/psLib/src/types/psHash.c	(revision 4342)
+++ /trunk/psLib/src/types/psHash.c	(revision 4343)
@@ -12,6 +12,6 @@
 *  @author GLG, MHPCC
 *
-*  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-06-18 02:30:49 $
+*  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-06-22 03:00:27 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -343,7 +343,7 @@
     boolean value defining success or failure
  *****************************************************************************/
-psBool psHashAdd(psHash* table,
-                 const char *key,
-                 psPtr data)
+bool psHashAdd(psHash* table,
+               const char *key,
+               psPtr data)
 {
     PS_ASSERT_PTR_NON_NULL(table, false);
@@ -365,5 +365,5 @@
     The data associated with that key.
  *****************************************************************************/
-psPtr psHashLookup(psHash* table,      // table to lookup key in
+psPtr psHashLookup(const psHash* table,      // table to lookup key in
                    const char *key)     // key to lookup
 {
@@ -371,5 +371,5 @@
     PS_ASSERT_PTR_NON_NULL(key, NULL);
 
-    return doHashWork(table, key, NULL, false);
+    return doHashWork((psPtr)table, key, NULL, false);
 }
 
@@ -402,5 +402,5 @@
 }
 
-psArray* psHashToArray(psHash* table)
+psArray* psHashToArray(const psHash* table)
 {
     PS_ASSERT_PTR_NON_NULL(table, NULL);
Index: /trunk/psLib/src/types/psHash.h
===================================================================
--- /trunk/psLib/src/types/psHash.h	(revision 4342)
+++ /trunk/psLib/src/types/psHash.h	(revision 4343)
@@ -11,6 +11,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-06-18 02:30:49 $
+ *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-06-22 03:00:27 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -51,5 +51,5 @@
 
 /// Insert entry into table.
-psBool psHashAdd(
+bool psHashAdd(
     psHash* table,                     ///< The table to insert in.
     const char *key,                   ///< The key to use.
@@ -59,5 +59,5 @@
 /// Lookup key in table.
 psPtr psHashLookup(
-    psHash* table,                     ///< The table to lookup key in.
+    const psHash* table,               ///< The table to lookup key in.
     const char *key                    ///< The key to lookup.
 );
@@ -79,5 +79,5 @@
  */
 psArray* psHashToArray(
-    psHash* table                 ///< The table to convert to psArray.
+    const psHash* table                ///< The table to convert to psArray.
 );
 
