Index: trunk/psLib/src/fits/psFitsHeader.h
===================================================================
--- trunk/psLib/src/fits/psFitsHeader.h	(revision 6354)
+++ trunk/psLib/src/fits/psFitsHeader.h	(revision 6767)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-02-08 01:03:34 $
+ *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-04-04 19:52:42 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -37,4 +37,5 @@
  */
 psMetadata* psFitsReadHeaderSet(
+    psMetadata* out,                         ///< output metadata or NULL if new psMetadata is to be created.
     const psFits* fits                       ///< the psFits object
 );
@@ -49,24 +50,11 @@
 );
 
-/** Updates the given header to be compatible with the supplied image, updating
- *  BITPIX, NAXIS1, and NAXIS2.  The extension name is (re)set to the given
- *  extname.
+/** psFitsHeaderValidate validates the supplied header so that it is in
+ *  compliance to the FITS standard for header keyword names and types.
  *
- *  @return psMetadata*     updated header.
+ *  @return bool        TRUE if the resulting header conforms to the FITS
+ *                      standard, otherwise FALSE
  */
-psMetadata* psFitsHeaderFromImage(
-    psMetadata* header,                ///< the header to update
-    psImage* image,                    ///< the image to use to determine update values
-    const char* extname                ///< the extension name
-);
-
-/** Updates the given header to be compatible with the given table, i.e. psArray
- *  of psMetadata. The extension name is (re)set to the given extname.
- */
-psMetadata* psFitsHeaderFromTable(
-    psMetadata* header,                ///< the header to update
-    psArray* table,                    ///< the table to use to update header
-    const char* extname                ///< the extension name
-);
+bool psFitsHeaderValidate(psMetadata *header);
 
 /// @}
