TwiceAsNice  2019-02-18
Functions | Variables
fitsutil.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "fitscat_defs.h"
#include "fitscat.h"
Include dependency graph for fitsutil.c:

Functions

int fitsadd (char *fitsbuf, char *keyword, char *comment)
 
int fitsfind (char *fitsbuf, char *keyword)
 
char * fitsnfind (char *fitsbuf, char *str, int nblock)
 
int fitspick (char *fitsline, char *keyword, void *ptr, h_type *htype, t_type *ttype, char *comment)
 
int fitsread (char *fitsbuf, char *keyword, void *ptr, h_type htype, t_type ttype)
 
int fitsremove (char *fitsbuf, char *keyword)
 
int fitswrite (char *fitsbuf, char *keyword, void *ptr, h_type htype, t_type ttype)
 
void fixexponent (char *s)
 

Variables

char histokeys [][12] = {"COMMENT ", "HISTORY ", " ", ""}
 

Function Documentation

◆ fitsadd()

int fitsadd ( char *  fitsbuf,
char *  keyword,
char *  comment 
)

◆ fitsfind()

int fitsfind ( char *  fitsbuf,
char *  keyword 
)

◆ fitsnfind()

char* fitsnfind ( char *  fitsbuf,
char *  str,
int  nblock 
)

◆ fitspick()

int fitspick ( char *  fitsline,
char *  keyword,
void *  ptr,
h_type htype,
t_type ttype,
char *  comment 
)

◆ fitsread()

int fitsread ( char *  fitsbuf,
char *  keyword,
void *  ptr,
h_type  htype,
t_type  ttype 
)

◆ fitsremove()

int fitsremove ( char *  fitsbuf,
char *  keyword 
)

◆ fitswrite()

int fitswrite ( char *  fitsbuf,
char *  keyword,
void *  ptr,
h_type  htype,
t_type  ttype 
)

◆ fixexponent()

void fixexponent ( char *  s)

Variable Documentation

◆ histokeys

char histokeys[][12] = {"COMMENT ", "HISTORY ", " ", ""}