Go to the documentation of this file.
375 #ifndef WCSLIB_FITSHDR
376 #define WCSLIB_FITSHDR
378 #include "wcsconfig.h"
384 #define FITSHDR_KEYWORD 0x01
385 #define FITSHDR_KEYVALUE 0x02
386 #define FITSHDR_COMMENT 0x04
387 #define FITSHDR_KEYREC 0x08
388 #define FITSHDR_CARD 0x08
389 #define FITSHDR_TRAILER 0x10
402 typedef WCSLIB_INT64
int64;
416 #define KEYIDLEN (sizeof(struct fitskeyid)/sizeof(int))
440 #define KEYLEN (sizeof(struct fitskey)/sizeof(int))
443 int fitshdr(
const char header[],
int nkeyrec,
int nkeyids,
@ FITSHDRERR_MEMORY
Definition: fitshdr.h:397
char comment[84]
Definition: fitshdr.h:436
int type
Definition: fitshdr.h:425
int keyid
Definition: fitshdr.h:422
@ FITSHDRERR_FLEX_PARSER
Definition: fitshdr.h:398
double c[2]
Definition: fitshdr.h:432
int keyno
Definition: fitshdr.h:421
int i
Definition: fitshdr.h:428
char s[72]
Definition: fitshdr.h:433
int idx[2]
Definition: fitshdr.h:412
char name[12]
Definition: fitshdr.h:410
int status
Definition: fitshdr.h:423
union fitskey::@1 keyvalue
int64 k
Definition: fitshdr.h:429
int int64[3]
64-bit signed integer data type.
Definition: fitshdr.h:404
int count
Definition: fitshdr.h:411
int fitshdr(const char header[], int nkeyrec, int nkeyids, struct fitskeyid keyids[], int *nreject, struct fitskey **keys)
FITS header parser routine.
double f
Definition: fitshdr.h:431
fitshdr_errmsg_enum
Definition: fitshdr.h:394
char keyword[12]
Definition: fitshdr.h:424
int ulen
Definition: fitshdr.h:435
@ FITSHDRERR_NULL_POINTER
Definition: fitshdr.h:396
int padding
Definition: fitshdr.h:426
Keyword/value information.
Definition: fitshdr.h:420
int l[8]
Definition: fitshdr.h:430
Keyword indexing.
Definition: fitshdr.h:409
const char * fitshdr_errmsg[]
Status return messages.
@ FITSHDRERR_SUCCESS
Definition: fitshdr.h:395