371 #ifndef WCSLIB_FITSHDR
372 #define WCSLIB_FITSHDR
374 #include "wcsconfig.h"
380 #define FITSHDR_KEYWORD 0x01
381 #define FITSHDR_KEYVALUE 0x02
382 #define FITSHDR_COMMENT 0x04
383 #define FITSHDR_KEYREC 0x08
384 #define FITSHDR_CARD 0x08
385 #define FITSHDR_TRAILER 0x10
398 typedef WCSLIB_INT64
int64;
412 #define KEYIDLEN (sizeof(struct fitskeyid)/sizeof(int))
436 #define KEYLEN (sizeof(struct fitskey)/sizeof(int))
439 int fitshdr(
const char header[],
int nkeyrec,
int nkeyids,
fitshdr_errmsg_enum
Definition: fitshdr.h:390
@ FITSHDRERR_FLEX_PARSER
Definition: fitshdr.h:394
@ FITSHDRERR_NULL_POINTER
Definition: fitshdr.h:392
@ FITSHDRERR_SUCCESS
Definition: fitshdr.h:391
@ FITSHDRERR_MEMORY
Definition: fitshdr.h:393
int int64[3]
64-bit signed integer data type.
Definition: fitshdr.h:400
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:416
double c[2]
Definition: fitshdr.h:428
int padding
Definition: fitshdr.h:422
int keyno
Definition: fitshdr.h:417
char keyword[12]
Definition: fitshdr.h:420
char comment[84]
Definition: fitshdr.h:432
int l[8]
Definition: fitshdr.h:426
int i
Definition: fitshdr.h:424
int status
Definition: fitshdr.h:419
union fitskey::@1 keyvalue
char s[72]
Definition: fitshdr.h:429
int ulen
Definition: fitshdr.h:431
int type
Definition: fitshdr.h:421
double f
Definition: fitshdr.h:427
int64 k
Definition: fitshdr.h:425
int keyid
Definition: fitshdr.h:418
Keyword indexing.
Definition: fitshdr.h:405
int idx[2]
Definition: fitshdr.h:408
char name[12]
Definition: fitshdr.h:406
int count
Definition: fitshdr.h:407