/* fitsio.h Library of FITS file read/write and header encode/decode routines */ #include void flinl0 (char headline[81], char *keywd, int xval, char *comstr); void flins0 (char headline[81], char *keywd, char *xval, char *comstr); void flinsl0 (char headline[81], char *keywd, char *xval, char *comstr); void flini0 (char headline[81], char *keywd, int xval, char *comstr); void flinr0 (char headline[81], char *keywd, float xval, char *comstr); int fits_head_encode (char (*header)[81], int ltype, int bitpix, int nax, int naxes[], float bzero, float bscale, char *bunit); int fits_head_bbso (char (*header)[81], int iline, char *object, char *objcom, char obs, char *obscom, int seeing, int telpos[2], struct tm btim, char *timecom, char *tel, char *waveln, char *wavecom, char *obsrvr); int fits_head_singer (char (*header)[81], int iline, char *object, char *objcom, char obs, char *obscom, int seeing, int telpos[2], struct tm btim, char *timecom, char *tel, char *waveln, char *wavecom, char *obsrvr); int fits_head_kanz (char (*header)[81], int iline, char *object, char *objcom, char obs, char *obscom, int seeing, int telpos[2], struct tm btim, char *timecom, char *tel, char *waveln, char *wavecom, char *obsrvr); int freadl(char header[][81], int maxln, char *keywd, int *xval, char *comstr); int freadi(char header[][81], int maxln, char *keywd, int *xval, char *comstr); int freadr(char header[][81], int maxln, char *keywd,float *xval,char *comstr); int freads(char header[][81], int maxln, char *keywd, char *xval,char *comstr); int fits_head_decode (char (*header)[81], int maxln, int *bitpix,int naxes[2]); void fits_bbso_decode (char header[][81], int maxln, struct tm *ptime, int pcoords[2], char *filename, char *obs, int *n_integr, char *icode); int fits_read (char *filename, char (**header)[81], int *maxln, void **picture, int naxes[2], int *bitpix); int fits_write (char *filename, char (*header)[81], int maxln, void *picture, int naxes[2], int bitpix);