Go to the documentation of this file.
374 #ifndef WCSLIB_FITSHDR
375 #define WCSLIB_FITSHDR
377 #include "wcsconfig.h"
383 #define FITSHDR_KEYWORD 0x01
384 #define FITSHDR_KEYVALUE 0x02
385 #define FITSHDR_COMMENT 0x04
386 #define FITSHDR_KEYREC 0x08
387 #define FITSHDR_CARD 0x08
388 #define FITSHDR_TRAILER 0x10
401 typedef WCSLIB_INT64
int64;
415 #define KEYIDLEN (sizeof(struct fitskeyid)/sizeof(int))
439 #define KEYLEN (sizeof(struct fitskey)/sizeof(int))
442 int fitshdr(
const char header[],
int nkeyrec,
int nkeyids,
@ FITSHDRERR_MEMORY
Definition: fitshdr.h:396
char comment[84]
Definition: fitshdr.h:435
int type
Definition: fitshdr.h:424
int keyid
Definition: fitshdr.h:421
@ FITSHDRERR_FLEX_PARSER
Definition: fitshdr.h:397
double c[2]
Definition: fitshdr.h:431
int keyno
Definition: fitshdr.h:420
int i
Definition: fitshdr.h:427
char s[72]
Definition: fitshdr.h:432
int idx[2]
Definition: fitshdr.h:411
char name[12]
Definition: fitshdr.h:409
int status
Definition: fitshdr.h:422
union fitskey::@1 keyvalue
int64 k
Definition: fitshdr.h:428
int int64[3]
64-bit signed integer data type.
Definition: fitshdr.h:403
int count
Definition: fitshdr.h:410
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:430
fitshdr_errmsg_enum
Definition: fitshdr.h:393
char keyword[12]
Definition: fitshdr.h:423
int ulen
Definition: fitshdr.h:434
@ FITSHDRERR_NULL_POINTER
Definition: fitshdr.h:395
int padding
Definition: fitshdr.h:425
Keyword/value information.
Definition: fitshdr.h:419
int l[8]
Definition: fitshdr.h:429
Keyword indexing.
Definition: fitshdr.h:408
const char * fitshdr_errmsg[]
Status return messages.
@ FITSHDRERR_SUCCESS
Definition: fitshdr.h:394