/usr/include/astrometry/fitsfile.h is in libastrometry-dev 0.70+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | /*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#ifndef FITSFILE_H
#define FITSFILE_H
#include <stdio.h>
#include "astrometry/qfits_header.h"
int fitsfile_pad_with(FILE* fid, char pad);
int fitsfile_write_primary_header(FILE* fid, qfits_header* hdr,
off_t* end_offset, const char* fn);
int fitsfile_fix_primary_header(FILE* fid, qfits_header* hdr,
off_t* end_offset, const char* fn);
// set ext = -1 if unknown.
int fitsfile_write_header(FILE* fid, qfits_header* hdr,
off_t* start_offset, off_t* end_offset,
int ext, const char* fn);
// set ext = -1 if unknown.
int fitsfile_fix_header(FILE* fid, qfits_header* hdr,
off_t* start_offset, off_t* end_offset,
int ext, const char* fn);
#endif
|