Index: trunk/psLib/src/fits/psFits.h
===================================================================
--- trunk/psLib/src/fits/psFits.h	(revision 11248)
+++ trunk/psLib/src/fits/psFits.h	(revision 12549)
@@ -4,6 +4,6 @@
  * @author Robert DeSonia, MHPCC
  *
- * @version $Revision: 1.26 $ $Name: not supported by cvs2svn $
- * @date $Date: 2007-01-23 22:47:23 $
+ * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
+ * @date $Date: 2007-03-22 21:40:47 $
  * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
  */
@@ -43,6 +43,7 @@
 typedef struct
 {
-    fitsfile* fd;                      ///< the CFITSIO fits files handle.
-    bool writable;                     ///< Is the file writable?
+    fitsfile* fd;			///< the CFITSIO fits files handle.
+    bool writable;			///< Is the file writable?
+    char *extword;			///< user-specified word to name extensions (NULL implies EXTNAME)
 }
 psFits;
@@ -84,4 +85,9 @@
 );
 
+// move to the first HDU where extword == extname.  this is equivalent to fits_movnam_hdu() for
+// a user-defined word in place of EXTNAME
+bool p_psFitsMoveExtName_UserKey(const psFits *fits,
+				 const char *extname,
+				 const char *extword);
 
 /** Moves the FITS HDU to the specified extension name.
