/*-------------------------------------------------------------------------*/ /** @file fits_md5.h @author N. Devillard @date May 2001 @version $Revision: 1.3 $ @brief FITS data block MD5 computation routine. This module offers MD5 computation over all data areas of a FITS file. */ /*--------------------------------------------------------------------------*/ /* $Id: fits_md5.h,v 1.3 2002/01/10 08:53:08 ndevilla Exp $ $Author: ndevilla $ $Date: 2002/01/10 08:53:08 $ $Revision: 1.3 $ */ #ifndef _FITS_MD5_H_ #define _FITS_MD5_H_ /*--------------------------------------------------------------------------- Includes ---------------------------------------------------------------------------*/ #include #include #include /*--------------------------------------------------------------------------- Function ANSI prototypes ---------------------------------------------------------------------------*/ /* */ /*-------------------------------------------------------------------------*/ /** @brief Compute the MD5 hash of data zones in a FITS file. @param filename Name of the FITS file to examine. @return 1 statically allocated character string, or NULL. This function expects the name of a FITS file. It will compute the MD5 hash on all data blocks in the main data section and possibly extensions (including zero-padding blocks if necessary) and return it as a string suitable for inclusion into a FITS keyword. The returned string is statically allocated inside this function, so do not free it or modify it. This function returns NULL in case of error. */ /*--------------------------------------------------------------------------*/ char * qfits_datamd5(char * filename); /* */ #endif /* vim: set ts=4 et sw=4 tw=75 */