372#ifndef WCSLIB_FITSHDR
373#define WCSLIB_FITSHDR
375#include "wcsconfig.h"
381#define FITSHDR_KEYWORD 0x01
382#define FITSHDR_KEYVALUE 0x02
383#define FITSHDR_COMMENT 0x04
384#define FITSHDR_KEYREC 0x08
385#define FITSHDR_CARD 0x08
386#define FITSHDR_TRAILER 0x10
400 typedef WCSLIB_INT64
int64;
414#define KEYIDLEN (sizeof(struct fitskeyid)/sizeof(int))
438#define KEYLEN (sizeof(struct fitskey)/sizeof(int))
441int fitshdr(
const char header[],
int nkeyrec,
int nkeyids,
fitshdr_errmsg_enum
Definition: fitshdr.h:391
@ FITSHDRERR_FLEX_PARSER
Definition: fitshdr.h:395
@ FITSHDRERR_NULL_POINTER
Definition: fitshdr.h:393
@ FITSHDRERR_SUCCESS
Definition: fitshdr.h:392
@ FITSHDRERR_DATA_TYPE
Definition: fitshdr.h:396
@ FITSHDRERR_MEMORY
Definition: fitshdr.h:394
int int64[3]
64-bit signed integer data type.
Definition: fitshdr.h:402
const char * fitshdr_errmsg[]
Status return messages.
int fitshdr(const char header[], int nkeyrec, int nkeyids, struct fitskeyid keyids[], int *nreject, struct fitskey **keys)
FITS header parser routine.
Keyword/value information.
Definition: fitshdr.h:418
double c[2]
Definition: fitshdr.h:430
int padding
Definition: fitshdr.h:424
int keyno
Definition: fitshdr.h:419
char keyword[12]
Definition: fitshdr.h:422
char comment[84]
Definition: fitshdr.h:434
int l[8]
Definition: fitshdr.h:428
int i
Definition: fitshdr.h:426
int status
Definition: fitshdr.h:421
union fitskey::@1 keyvalue
char s[72]
Definition: fitshdr.h:431
int ulen
Definition: fitshdr.h:433
int type
Definition: fitshdr.h:423
double f
Definition: fitshdr.h:429
int64 k
Definition: fitshdr.h:427
int keyid
Definition: fitshdr.h:420
Keyword indexing.
Definition: fitshdr.h:407
int idx[2]
Definition: fitshdr.h:410
char name[12]
Definition: fitshdr.h:408
int count
Definition: fitshdr.h:409