C Standard Library Extensions  6.2.0
qfits_cache.h
1 /* $Id: qfits_cache.h,v 1.1.1.1 2008-11-03 13:40:49 agabasch Exp $
2  *
3  * This file is part of the ESO QFITS Library
4  * Copyright (C) 2001-2004 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 /*
22  * $Author: agabasch $
23  * $Date: 2008-11-03 13:40:49 $
24  * $Revision: 1.1.1.1 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef QFITS_CACHE_H
29 #define QFITS_CACHE_H
30 
31 /*-----------------------------------------------------------------------------
32  Includes
33  -----------------------------------------------------------------------------*/
34 
35 #include <stdio.h>
36 
37 /*-----------------------------------------------------------------------------
38  Defines
39  -----------------------------------------------------------------------------*/
40 
42 #define QFITS_QUERY_N_EXT (1<<30)
43 
44 #define QFITS_QUERY_HDR_START (1<<29)
45 
46 #define QFITS_QUERY_DAT_START (1<<28)
47 
48 #define QFITS_QUERY_HDR_SIZE (1<<27)
49 
50 #define QFITS_QUERY_DAT_SIZE (1<<26)
51 
52 void qfits_cache_purge(void) ;
53 int qfits_query(const char *, int) ;
54 
55 #endif
int qfits_query(const char *, int)
Query a FITS file offset from the cache.
Definition: qfits_cache.c:229
void qfits_cache_purge(void)
Purge the qfits cache.
Definition: qfits_cache.c:143