#if !defined(SIMPLE_FITS_H)
#define SIMPLE_FITS_H 1

int
rhlWriteFits(int fd,			/* file descriptor to write to */
	     const psImage *data,	/* The data to write */
	     const psMetadata *meta,	/* associated metadata */
	     const char *WCS);		/* which WCS to use for pixel coordinates */
int
rhlWriteFitsFile(const char *filename,	/* file to write to (or "| cmd"); NULL => "|xpaset ds9 fits" */
		 const psImage *data,	/* The data to write */
		 const psMetadata *meta, /* associated metadata */
		 const char *WCS);	/* name of WCS for pixel coordinates */

#endif
