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
394 typedef WCSLIB_INT64
int64;
396 typedef int int64[3];
408 #define KEYIDLEN (sizeof(struct fitskeyid)/sizeof(int))
432 #define KEYLEN (sizeof(struct fitskey)/sizeof(int))
435 int fitshdr(
const char header[],
int nkeyrec,
int nkeyids,
double f
Definition: fitshdr.h:423
union fitskey::@1 keyvalue
char keyword[12]
Definition: fitshdr.h:416
int type
Definition: fitshdr.h:417
char s[72]
Definition: fitshdr.h:425
double c[2]
Definition: fitshdr.h:424
char name[12]
Definition: fitshdr.h:402
int ulen
Definition: fitshdr.h:427
int status
Definition: fitshdr.h:415
int int64[3]
64-bit signed integer data type.
Definition: fitshdr.h:396
int fitshdr(const char header[], int nkeyrec, int nkeyids, struct fitskeyid keyids[], int *nreject, struct fitskey **keys)
FITS header parser routine.
int keyno
Definition: fitshdr.h:413
int l[8]
Definition: fitshdr.h:422
int idx[2]
Definition: fitshdr.h:404
char comment[84]
Definition: fitshdr.h:428
int keyid
Definition: fitshdr.h:414
int count
Definition: fitshdr.h:403
int i
Definition: fitshdr.h:420
Keyword/value information.
Definition: fitshdr.h:412
int padding
Definition: fitshdr.h:418
const char * fitshdr_errmsg[]
Status return messages.
Keyword indexing.
Definition: fitshdr.h:401
int64 k
Definition: fitshdr.h:421