cfitsio  3390
Macros | Functions
iraffits.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
Include dependency graph for iraffits.c:

Macros

#define FILE_NOT_OPENED   104
 
#define SZ_IMPIXFILE   79 /* name of pixel storage file */
 
#define SZ_IMHDRFILE   79 /* length of header storage file */
 
#define SZ_IMTITLE   79 /* image title string */
 
#define LEN_IMHDR   2052 /* length of std header */
 
#define SZ_IM2PIXFILE   255 /* name of pixel storage file */
 
#define SZ_IM2HDRFILE   255 /* name of header storage file */
 
#define SZ_IM2TITLE   383 /* image title string */
 
#define LEN_IM2HDR   2046 /* length of std header */
 
#define IM_HDRLEN   12 /* Length of header in 4-byte ints */
 
#define IM_PIXTYPE   16 /* Datatype of the pixels */
 
#define IM_NDIM   20 /* Number of dimensions */
 
#define IM_LEN   24 /* Length (as stored) */
 
#define IM_PHYSLEN   52 /* Physical length (as stored) */
 
#define IM_PIXOFF   88 /* Offset of the pixels */
 
#define IM_CTIME   108 /* Time of image creation */
 
#define IM_MTIME   112 /* Time of last modification */
 
#define IM_LIMTIME   116 /* Time of min,max computation */
 
#define IM_MAX   120 /* Maximum pixel value */
 
#define IM_MIN   124 /* Maximum pixel value */
 
#define IM_PIXFILE   412 /* Name of pixel storage file */
 
#define IM_HDRFILE   572 /* Name of header storage file */
 
#define IM_TITLE   732 /* Image name string */
 
#define IM2_HDRLEN   6 /* Length of header in 4-byte ints */
 
#define IM2_PIXTYPE   10 /* Datatype of the pixels */
 
#define IM2_SWAPPED   14 /* Pixels are byte swapped */
 
#define IM2_NDIM   18 /* Number of dimensions */
 
#define IM2_LEN   22 /* Length (as stored) */
 
#define IM2_PHYSLEN   50 /* Physical length (as stored) */
 
#define IM2_PIXOFF   86 /* Offset of the pixels */
 
#define IM2_CTIME   106 /* Time of image creation */
 
#define IM2_MTIME   110 /* Time of last modification */
 
#define IM2_LIMTIME   114 /* Time of min,max computation */
 
#define IM2_MAX   118 /* Maximum pixel value */
 
#define IM2_MIN   122 /* Maximum pixel value */
 
#define IM2_PIXFILE   126 /* Name of pixel storage file */
 
#define IM2_HDRFILE   382 /* Name of header storage file */
 
#define IM2_TITLE   638 /* Image name string */
 
#define TY_CHAR   2
 
#define TY_SHORT   3
 
#define TY_INT   4
 
#define TY_LONG   5
 
#define TY_REAL   6
 
#define TY_DOUBLE   7
 
#define TY_COMPLEX   8
 
#define TY_POINTER   9
 
#define TY_STRUCT   10
 
#define TY_USHORT   11
 
#define TY_UBYTE   12
 
#define LEN_PIXHDR   1024
 
#define MAXINT   2147483647 /* Biggest number that can fit in long */
 
#define CFITS_API
 

Functions

int iraf2mem (char *filename, char **buffptr, size_t *buffsize, size_t *filesize, int *status)
 
void ffpmsg (const char *err_message)
 
int CFITS_API fits_delete_iraf_file (const char *filename, int *status)
 

Macro Definition Documentation

#define CFITS_API
#define FILE_NOT_OPENED   104
#define IM2_CTIME   106 /* Time of image creation */
#define IM2_HDRFILE   382 /* Name of header storage file */
#define IM2_HDRLEN   6 /* Length of header in 4-byte ints */
#define IM2_LEN   22 /* Length (as stored) */
#define IM2_LIMTIME   114 /* Time of min,max computation */
#define IM2_MAX   118 /* Maximum pixel value */
#define IM2_MIN   122 /* Maximum pixel value */
#define IM2_MTIME   110 /* Time of last modification */
#define IM2_NDIM   18 /* Number of dimensions */
#define IM2_PHYSLEN   50 /* Physical length (as stored) */
#define IM2_PIXFILE   126 /* Name of pixel storage file */
#define IM2_PIXOFF   86 /* Offset of the pixels */
#define IM2_PIXTYPE   10 /* Datatype of the pixels */
#define IM2_SWAPPED   14 /* Pixels are byte swapped */
#define IM2_TITLE   638 /* Image name string */
#define IM_CTIME   108 /* Time of image creation */
#define IM_HDRFILE   572 /* Name of header storage file */
#define IM_HDRLEN   12 /* Length of header in 4-byte ints */
#define IM_LEN   24 /* Length (as stored) */
#define IM_LIMTIME   116 /* Time of min,max computation */
#define IM_MAX   120 /* Maximum pixel value */
#define IM_MIN   124 /* Maximum pixel value */
#define IM_MTIME   112 /* Time of last modification */
#define IM_NDIM   20 /* Number of dimensions */
#define IM_PHYSLEN   52 /* Physical length (as stored) */
#define IM_PIXFILE   412 /* Name of pixel storage file */
#define IM_PIXOFF   88 /* Offset of the pixels */
#define IM_PIXTYPE   16 /* Datatype of the pixels */
#define IM_TITLE   732 /* Image name string */
#define LEN_IM2HDR   2046 /* length of std header */
#define LEN_IMHDR   2052 /* length of std header */
#define LEN_PIXHDR   1024
#define MAXINT   2147483647 /* Biggest number that can fit in long */
#define SZ_IM2HDRFILE   255 /* name of header storage file */
#define SZ_IM2PIXFILE   255 /* name of pixel storage file */
#define SZ_IM2TITLE   383 /* image title string */
#define SZ_IMHDRFILE   79 /* length of header storage file */
#define SZ_IMPIXFILE   79 /* name of pixel storage file */
#define SZ_IMTITLE   79 /* image title string */
#define TY_CHAR   2
#define TY_COMPLEX   8
#define TY_DOUBLE   7
#define TY_INT   4
#define TY_LONG   5
#define TY_POINTER   9
#define TY_REAL   6
#define TY_SHORT   3
#define TY_STRUCT   10
#define TY_UBYTE   12
#define TY_USHORT   11

Function Documentation

void ffpmsg ( const char *  err_message)

put message on to error stack

Here is the caller graph for this function:

int CFITS_API fits_delete_iraf_file ( const char *  filename,
int *  status 
)

Here is the caller graph for this function:

int iraf2mem ( char *  filename,
char **  buffptr,
size_t *  buffsize,
size_t *  filesize,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function: