qfits-6.2.0

main qfits-6.2.0
Jeff Moe 2022-06-01 19:35:18 -06:00
parent c8a2aa1667
commit 42b2ba35a5
49 changed files with 131 additions and 106 deletions

View File

@ -1,2 +1,2 @@
Yves Jung yjung@eso.org
Nicolas Devillard ndevilla@gmail.com Initial author
Yves Jung yjung@eso.org Maintainer since 2002

20
qfits/configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for qfits 6.1.0.
# Generated by GNU Autoconf 2.59 for qfits 6.2.0.
#
# Report bugs to <yjung@eso.org>.
#
@ -423,8 +423,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='qfits'
PACKAGE_TARNAME='qfits'
PACKAGE_VERSION='6.1.0'
PACKAGE_STRING='qfits 6.1.0'
PACKAGE_VERSION='6.2.0'
PACKAGE_STRING='qfits 6.2.0'
PACKAGE_BUGREPORT='yjung@eso.org'
ac_unique_file="Makefile.am"
@ -962,7 +962,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures qfits 6.1.0 to adapt to many kinds of systems.
\`configure' configures qfits 6.2.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1028,7 +1028,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of qfits 6.1.0:";;
short | recursive ) echo "Configuration of qfits 6.2.0:";;
esac
cat <<\_ACEOF
@ -1177,7 +1177,7 @@ fi
test -n "$ac_init_help" && exit 0
if $ac_init_version; then
cat <<\_ACEOF
qfits configure 6.1.0
qfits configure 6.2.0
generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc.
@ -1191,7 +1191,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by qfits $as_me 6.1.0, which was
It was created by qfits $as_me 6.2.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@
@ -1830,7 +1830,7 @@ fi
# Define the identity of the package.
PACKAGE='qfits'
VERSION='6.1.0'
VERSION='6.2.0'
cat >>confdefs.h <<_ACEOF
@ -21962,7 +21962,7 @@ _ASBOX
} >&5
cat >&5 <<_CSEOF
This file was extended by qfits $as_me 6.1.0, which was
This file was extended by qfits $as_me 6.2.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -22025,7 +22025,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
qfits config.status 6.1.0
qfits config.status 6.2.0
configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

View File

@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(qfits, 6.1.0, yjung@eso.org)
AC_INIT(qfits, 6.2.0, yjung@eso.org)
AC_CONFIG_SRCDIR([Makefile.am])
AC_CONFIG_HEADER([config.h])

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">
@ -13,7 +13,7 @@
<h1>FITS data block MD5 computation routine</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__qfits__md5.html#ga0">qfits_datamd5</a> (const char *filename)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__qfits__md5.html#ga0">qfits_datamd5</a> (const char *filename)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute the MD5 hash of data zones in a FITS file. <a href="#ga0"></a><br></td></tr>
</table>
@ -25,7 +25,7 @@ This module offers MD5 computation over all data areas of a FITS file. <hr><h2>F
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">char* qfits_datamd5 </td>
<td class="md" nowrap valign="top">const char* qfits_datamd5 </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const char *&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>filename</em> </td>

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">
@ -12,7 +12,7 @@
<!-- Generated by Doxygen 1.4.1 -->
<h1>qfits Reference manual </h1>
<p>
<h3 align="center">6.1.0 </h3><hr>
<h3 align="center">6.2.0 </h3><hr>
<h2><a class="anchor" name="welcome">
Introduction</a></h2>
<b>qfits</b> is a stand-alone library written in C to interact with files complying with the FITS format. It is fast and portable over any kind of POSIX-compliant platform.<p>

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">
@ -15,7 +15,7 @@
<h1>qfits_md5.c File Reference</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__qfits__md5.html#ga0">qfits_datamd5</a> (const char *filename)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__qfits__md5.html#ga0">qfits_datamd5</a> (const char *filename)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute the MD5 hash of data zones in a FITS file. <a href="group__qfits__md5.html#ga0"></a><br></td></tr>
</table>

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -2,7 +2,7 @@
<head>
<meta name="keywords" content="eso, FITS format, C library">
<link href="doxygen.css" rel="stylesheet" type="text/css">
<title>QFITS Reference Manual 6.1.0</title>
<title>QFITS Reference Manual 6.2.0</title>
</head>
<body text="#000000" bgcolor="#ffffff">

View File

@ -1,4 +1,4 @@
/* $Id: qfits_cache.c,v 1.10 2006/02/23 10:52:20 yjung Exp $
/* $Id: qfits_cache.c,v 1.12 2006/12/04 15:34:48 yjung Exp $
*
* This file is part of the ESO QFITS Library
* Copyright (C) 2001-2004 European Southern Observatory
@ -20,9 +20,9 @@
/*
* $Author: yjung $
* $Date: 2006/02/23 10:52:20 $
* $Revision: 1.10 $
* $Name: qfits-6_1_0 $
* $Date: 2006/12/04 15:34:48 $
* $Revision: 1.12 $
* $Name: qfits-6_2_0 $
*/
/*-----------------------------------------------------------------------------
@ -69,7 +69,7 @@
* grow much larger than a predictable value, the best solution is to
* implement a dynamic memory allocation in qfits_cache_add.
*/
#define QFITS_MAX_EXTS 128
#define QFITS_MAX_EXTS 10192
/*-----------------------------------------------------------------------------
New types
@ -650,6 +650,11 @@ static int qfits_cache_add(const char * filename)
/* Close file */
fclose(in);
/* Check last */
if (last >= QFITS_MAX_EXTS) {
return -1 ;
}
/* Allocate buffers in cache */
qc->ohdr = qfits_malloc(last * sizeof(int));
qc->data = qfits_malloc(last * sizeof(int));

View File

@ -1,4 +1,4 @@
/* $Id: qfits_header.c,v 1.9 2006/02/23 10:59:03 yjung Exp $
/* $Id: qfits_header.c,v 1.10 2006/11/22 13:33:42 yjung Exp $
*
* This file is part of the ESO QFITS Library
* Copyright (C) 2001-2004 European Southern Observatory
@ -20,9 +20,9 @@
/*
* $Author: yjung $
* $Date: 2006/02/23 10:59:03 $
* $Revision: 1.9 $
* $Name: qfits-6_1_0 $
* $Date: 2006/11/22 13:33:42 $
* $Revision: 1.10 $
* $Name: qfits-6_2_0 $
*/
/*-----------------------------------------------------------------------------
@ -184,6 +184,10 @@ qfits_header * qfits_header_new(void)
h->first = NULL ;
h->last = NULL ;
h->n = 0 ;
h->current = NULL ;
h->current_idx = -1 ;
return h;
}
@ -634,19 +638,32 @@ int qfits_header_getitem(
char * com,
char * lin)
{
keytuple * k ;
int count ;
keytuple * k ;
int count ;
if (hdr==NULL) return -1 ;
if (key==NULL && val==NULL && com==NULL && lin==NULL) return 0 ;
if (idx<0 || idx>hdr->n) return -1 ;
count=0 ;
k = (keytuple*)hdr->first ;
while (count<idx) {
k = k->next ;
count++ ;
}
/* Get pointer to keytuple */
if (idx == 0) {
((qfits_header *)hdr)->current_idx = 0 ;
((qfits_header *)hdr)->current = hdr->first ;
k = hdr->current ;
} else if (idx == hdr->current_idx + 1) {
((qfits_header *)hdr)->current = ((keytuple*) (hdr->current))->next ;
((qfits_header *)hdr)->current_idx++ ;
k = hdr->current ;
} else {
count=0 ;
k = (keytuple*)hdr->first ;
while (count<idx) {
k = k->next ;
count++ ;
}
}
/* Fill return values */
if (key!=NULL) strcpy(key, k->key);
if (val!=NULL) {
if (k->val!=NULL) strcpy(val, k->val);

View File

@ -1,4 +1,4 @@
/* $Id: qfits_header.h,v 1.7 2006/02/20 09:45:25 yjung Exp $
/* $Id: qfits_header.h,v 1.8 2006/11/22 13:33:42 yjung Exp $
*
* This file is part of the ESO QFITS Library
* Copyright (C) 2001-2004 European Southern Observatory
@ -20,9 +20,9 @@
/*
* $Author: yjung $
* $Date: 2006/02/20 09:45:25 $
* $Revision: 1.7 $
* $Name: qfits-6_1_0 $
* $Date: 2006/11/22 13:33:42 $
* $Revision: 1.8 $
* $Name: qfits-6_2_0 $
*/
#ifndef QFITS_HEADER_H
@ -52,9 +52,12 @@
*/
/*----------------------------------------------------------------------------*/
typedef struct qfits_header {
void * first ; /* Pointer to list start */
void * last ; /* Pointer to list end */
int n ; /* Number of cards in list */
void * first ; /* Pointer to list start */
void * last ; /* Pointer to list end */
int n ; /* Number of cards in list */
/* For efficient looping internally */
void * current ;
int current_idx ;
} qfits_header ;
/*-----------------------------------------------------------------------------

View File

@ -1,4 +1,4 @@
/* $Id: qfits_md5.c,v 1.8 2006/02/20 09:45:25 yjung Exp $
/* $Id: qfits_md5.c,v 1.9 2007/01/10 08:53:45 yjung Exp $
*
* This file is part of the ESO QFITS Library
* Copyright (C) 2001-2004 European Southern Observatory
@ -20,9 +20,9 @@
/*
* $Author: yjung $
* $Date: 2006/02/20 09:45:25 $
* $Revision: 1.8 $
* $Name: qfits-6_1_0 $
* $Date: 2007/01/10 08:53:45 $
* $Revision: 1.9 $
* $Name: qfits-6_2_0 $
*/
/*-----------------------------------------------------------------------------
@ -78,7 +78,7 @@
of error.
*/
/*----------------------------------------------------------------------------*/
char * qfits_datamd5(const char * filename)
const char * qfits_datamd5(const char * filename)
{
static char datamd5[MD5HASHSZ+1] ;
struct MD5Context ctx ;

View File

@ -1,4 +1,4 @@
/* $Id: qfits_md5.h,v 1.5 2006/02/20 09:45:25 yjung Exp $
/* $Id: qfits_md5.h,v 1.6 2007/01/10 08:53:45 yjung Exp $
*
* This file is part of the ESO QFITS Library
* Copyright (C) 2001-2004 European Southern Observatory
@ -20,9 +20,9 @@
/*
* $Author: yjung $
* $Date: 2006/02/20 09:45:25 $
* $Revision: 1.5 $
* $Name: qfits-6_1_0 $
* $Date: 2007/01/10 08:53:45 $
* $Revision: 1.6 $
* $Name: qfits-6_2_0 $
*/
#ifndef QFITS_MD5_H
@ -40,6 +40,6 @@
Function ANSI prototypes
-----------------------------------------------------------------------------*/
char * qfits_datamd5(const char *) ;
const char * qfits_datamd5(const char *) ;
#endif

View File

@ -1,4 +1,4 @@
/* $Id: qfits_table.c,v 1.19 2006/03/15 15:13:15 yjung Exp $
/* $Id: qfits_table.c,v 1.20 2007/01/10 12:24:45 yjung Exp $
*
* This file is part of the ESO QFITS Library
* Copyright (C) 2001-2004 European Southern Observatory
@ -20,9 +20,9 @@
/*
* $Author: yjung $
* $Date: 2006/03/15 15:13:15 $
* $Revision: 1.19 $
* $Name: qfits-6_1_0 $
* $Date: 2007/01/10 12:24:45 $
* $Revision: 1.20 $
* $Name: qfits-6_2_0 $
*/
/*-----------------------------------------------------------------------------
@ -1472,9 +1472,9 @@ int qfits_save_table_hdrdump(
const qfits_table * table,
const qfits_header * fh)
{
FILE * outfile ;
char * md5hash ;
char md5card[81];
FILE * outfile ;
const char * md5hash ;
char md5card[81];
/* Open the destination file */
if ((outfile = fopen(table->filename, "w")) == NULL) {

View File

@ -1,4 +1,4 @@
/* $Id: test_pixio.c,v 1.8 2006/02/23 11:33:15 yjung Exp $
/* $Id: test_pixio.c,v 1.9 2007/01/10 12:29:58 yjung Exp $
*
* This file is part of the ESO QFITS Library
* Copyright (C) 2001-2004 European Southern Observatory
@ -20,9 +20,9 @@
/*
* $Author: yjung $
* $Date: 2006/02/23 11:33:15 $
* $Revision: 1.8 $
* $Name: qfits-6_1_0 $
* $Date: 2007/01/10 12:29:58 $
* $Revision: 1.9 $
* $Name: qfits-6_2_0 $
*/
/*---------------------------------------------------------------------------
@ -161,7 +161,7 @@ static int test_dumpdatasets(void)
char * ptype_name ;
qfitsdumper qd ;
int i ;
char * datamd5 ;
const char * datamd5 ;
err = 0 ;
qd.npix = TEST_NPIX ;

View File

@ -1,4 +1,4 @@
/* $Id: test_qfits.c,v 1.14 2006/02/23 11:33:15 yjung Exp $
/* $Id: test_qfits.c,v 1.15 2007/01/10 12:29:58 yjung Exp $
*
* This file is part of the ESO QFITS Library
* Copyright (C) 2001-2004 European Southern Observatory
@ -20,9 +20,9 @@
/*
* $Author: yjung $
* $Date: 2006/02/23 11:33:15 $
* $Revision: 1.14 $
* $Name: qfits-6_1_0 $
* $Date: 2007/01/10 12:29:58 $
* $Revision: 1.15 $
* $Name: qfits-6_2_0 $
*/
/*-----------------------------------------------------------------------------
@ -481,7 +481,7 @@ int test_qfits_filecreate_ext(char * filename)
qfits_header* qh ;
qfitsdumper qd ;
FILE * out ;
char * sig ;
const char * sig ;
say("-----> File with multiple extensions");
/* Create minimal FITS header for main */