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

Functions

int get_head (tabstruct *tab)
 
void readbasic_head (tabstruct *tab)
 
int readbintabparam_head (tabstruct *tab)
 
int update_head (tabstruct *tab)
 
int prim_head (tabstruct *tab)
 
int ext_head (tabstruct *tab)
 
int addkeyto_head (tabstruct *tab, keystruct *key)
 
int addkeywordto_head (tabstruct *tab, char *keyword, char *comment)
 
int removekeywordfrom_head (tabstruct *tab, char *keyword)
 
int tformof (char *str, t_type ttype, int n)
 
int tsizeof (char *str)
 
t_type ttypeof (char *str)
 
char * tdisptoprintf (char *tdisp, char *str)
 
char * printftotdisp (char *cprintf, char *str)
 

Variables

char histokeys [][12]
 
const int t_size [] = {1, 2, 4, 8, 4, 8, 1}
 

Function Documentation

◆ addkeyto_head()

int addkeyto_head ( tabstruct tab,
keystruct key 
)

◆ addkeywordto_head()

int addkeywordto_head ( tabstruct tab,
char *  keyword,
char *  comment 
)

◆ ext_head()

int ext_head ( tabstruct tab)

◆ get_head()

int get_head ( tabstruct tab)

◆ prim_head()

int prim_head ( tabstruct tab)

◆ printftotdisp()

char* printftotdisp ( char *  cprintf,
char *  str 
)

◆ readbasic_head()

void readbasic_head ( tabstruct tab)

◆ readbintabparam_head()

int readbintabparam_head ( tabstruct tab)

◆ removekeywordfrom_head()

int removekeywordfrom_head ( tabstruct tab,
char *  keyword 
)

◆ tdisptoprintf()

char* tdisptoprintf ( char *  tdisp,
char *  str 
)

◆ tformof()

int tformof ( char *  str,
t_type  ttype,
int  n 
)

◆ tsizeof()

int tsizeof ( char *  str)

◆ ttypeof()

t_type ttypeof ( char *  str)

◆ update_head()

int update_head ( tabstruct tab)

Variable Documentation

◆ histokeys

char histokeys[][12]

◆ t_size

const int t_size[] = {1, 2, 4, 8, 4, 8, 1}