/usr/include/astrometry/merge-index.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 | /*
# This file is part of the Astrometry.net suite.
# Licensed under a 3-clause BSD style license - see LICENSE
*/
#ifndef MERGE_INDEX_H
#define MERGE_INDEX_H
#include "astrometry/quadfile.h"
#include "astrometry/codekd.h"
#include "astrometry/starkd.h"
/**
Merges .quad, .ckdt, and .skdt files to produce a .index file.
*/
int merge_index_files(const char* quadfn, const char* ckdtfn, const char* skdtfn,
const char* indexfn);
int merge_index_open_files(const char* quadfn, const char* ckdtfn, const char* skdtfn,
quadfile_t** quad, codetree_t** code, startree_t** star);
int merge_index(quadfile_t* quads, codetree_t* codekd, startree_t* starkd,
const char* indexfn);
#endif
|