Index: trunk/psLib/src/dataIO/psFits.h
===================================================================
--- trunk/psLib/src/dataIO/psFits.h	(revision 2806)
+++ trunk/psLib/src/dataIO/psFits.h	(revision 2962)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-12-23 19:13:53 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-01-12 22:17:01 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -37,5 +37,5 @@
 
 /** FITS file object.
- * 
+ *
  *  This object should be considered opaque to the user; no item in this
  *  struct should be accessed directly.
@@ -51,10 +51,9 @@
 /** Opens a FITS file and allocates the associated psFits object.
  *
- *  @return psFits*    new psFits object for the FITS files specified or 
+ *  @return psFits*    new psFits object for the FITS files specified or
  *                     NULL if the open of the FITS file failed
  */
 psFits* psFitsAlloc(
-    const char* name,                  ///< the FITS file name
-    bool readwrite                     ///< if TRUE, the file is open for read/write.
+    const char* name                   ///< the FITS file name
 );
 
@@ -89,5 +88,5 @@
 /** Get the current extension name.
  *
- *  @return int        Current HDU name of the psFits file or NULL if an 
+ *  @return int        Current HDU name of the psFits file or NULL if an
  *                     error occurred.
  */
@@ -96,7 +95,16 @@
 );
 
+/** Set the current extension's name
+ *
+ *  @return bool       TRUE if the extension was successfully set, otherwise FALSE.
+ */
+bool psFitsSetExtName(
+    psFits* fits,                      ///< the psFits object
+    const char* name                   ///< the extension name
+);
+
 /** Get the total number of HDUs in the FITS file.
  *
- *  @return int        The total number of HDUs in the FITS file or < 0 if an 
+ *  @return int        The total number of HDUs in the FITS file or < 0 if an
  *                     error occurred.
  */
@@ -107,5 +115,5 @@
 /** Get the extension type of the current HDU.
  *
- *  @return psFitsType The type of the current HDU.  If PS_FITS_TYPE_UNKNOWN, 
+ *  @return psFitsType The type of the current HDU.  If PS_FITS_TYPE_UNKNOWN,
  *                     the type could not be determined.
  */
@@ -151,5 +159,5 @@
  *  @return psImage*     the read image or NULL if there was an error.
  */
-psImage* psFitsReadImageSection(
+psImage* psFitsReadImage(
     psImage* out,                      ///< a psImage to recycle.
     psFits* fits,                      ///< the psFits object
@@ -182,5 +190,5 @@
  *  PS_FITS_TYPE_BINARY_TABLE or PS_FITS_TYPE_ASCII_TABLE.
  *
- *  @return psArray*    Array of data items for the specified column or NULL 
+ *  @return psArray*    Array of data items for the specified column or NULL
  *                      if an error occurred.
  */
@@ -207,5 +215,5 @@
  *  @return psArray*     Array of psMetadata items, which contains the output
  *                       data items of each row.
- *  
+ *
  *  @see psFitsReadTableRow
  */
@@ -218,5 +226,5 @@
  *
  *  @return bool        TRUE if the write was successful, otherwise FALSE
- *  
+ *
  *  @see psFitsReadTableRow
  */
