00001
00002 /*---------------------------------------------------------------------------
00003 E.S.O.
00004 ----------------------------------------------------------------------------
00005 File name : idformat.h
00006 Author : N. Devillard
00007 Created on : August 1999
00008 Language : ANSI C
00009 Part of ECLIPSE library for Adonis
00010 Description : various routines to identify file formats
00011 *--------------------------------------------------------------------------*/
00012
00013 /*
00014
00015 $Id: idformat.h,v 1.1 2003/09/03 12:50:47 amodigli Exp $
00016 $Author: amodigli $
00017 $Date: 2003/09/03 12:50:47 $
00018 $Revision: 1.1 $
00019
00020 */
00021
00022 #ifndef _IDFORMAT_H_
00023 #define _IDFORMAT_H_
00024
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028
00029 /*---------------------------------------------------------------------------
00030 Includes
00031 ---------------------------------------------------------------------------*/
00032
00033 #include <stdio.h>
00034 #include <stdlib.h>
00035 #include <string.h>
00036
00037 #include "static_sz.h"
00038
00039
00040 /*---------------------------------------------------------------------------
00041 Function ANSI C prototypes
00042 ---------------------------------------------------------------------------*/
00043
00044 /*-------------------------------------------------------------------------*/
00055 /*--------------------------------------------------------------------------*/
00056
00057
00058 int is_fits_file(char *filename);
00059
00060
00061 /*-------------------------------------------------------------------------*/
00072 /*--------------------------------------------------------------------------*/
00073
00074
00075 /*<python>*/
00076 int is_ascii_list(char * name);
00077 /*</python>*/
00078
00079
00080
00081 /*-------------------------------------------------------------------------*/
00092 /*--------------------------------------------------------------------------*/
00093 /*<python>*/
00094 void exit_if_not_fits_file(char *filename);
00095 /*</python>*/
00096
00097
00098 #ifdef __cplusplus
00099 }
00100 #endif
00101
00102
00103 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001