Go to the documentation of this file.
373 #ifndef WCSLIB_FITSHDR
374 #define WCSLIB_FITSHDR
376 #include "wcsconfig.h"
382 #define FITSHDR_KEYWORD 0x01
383 #define FITSHDR_KEYVALUE 0x02
384 #define FITSHDR_COMMENT 0x04
385 #define FITSHDR_KEYREC 0x08
386 #define FITSHDR_CARD 0x08 // Alias for backwards compatibility.
387 #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))
441 int fitshdr(
const char header[],
int nkeyrec,
int nkeyids,
449 #endif // WCSLIB_FITSHDR
@ FITSHDRERR_MEMORY
Definition: fitshdr.h:395
char comment[84]
Definition: fitshdr.h:434
int type
Definition: fitshdr.h:423
int keyid
Definition: fitshdr.h:420
@ FITSHDRERR_FLEX_PARSER
Definition: fitshdr.h:396
double c[2]
Definition: fitshdr.h:430
int keyno
Definition: fitshdr.h:419
int i
Definition: fitshdr.h:426
char s[72]
Definition: fitshdr.h:431
int idx[2]
Definition: fitshdr.h:410
char name[12]
Definition: fitshdr.h:408
int status
Definition: fitshdr.h:421
union fitskey::@1 keyvalue
int64 k
Definition: fitshdr.h:427
int int64[3]
64-bit signed integer data type.
Definition: fitshdr.h:402
int count
Definition: fitshdr.h:409
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:429
fitshdr_errmsg_enum
Definition: fitshdr.h:392
char keyword[12]
Definition: fitshdr.h:422
int ulen
Definition: fitshdr.h:433
@ FITSHDRERR_NULL_POINTER
Definition: fitshdr.h:394
int padding
Definition: fitshdr.h:424
Keyword/value information.
Definition: fitshdr.h:418
int l[8]
Definition: fitshdr.h:428
Keyword indexing.
Definition: fitshdr.h:407
const char * fitshdr_errmsg[]
Status return messages.
@ FITSHDRERR_SUCCESS
Definition: fitshdr.h:393