2016-04-27 21:59:20 +00:00
|
|
|
struct index {
|
2016-04-27 22:10:26 +00:00
|
|
|
long long start;
|
|
|
|
long long end;
|
|
|
|
unsigned long long index;
|
|
|
|
short segment;
|
2016-10-12 00:42:41 +00:00
|
|
|
unsigned short t : 2;
|
2016-10-11 00:15:33 +00:00
|
|
|
unsigned long long seq : (64 - 18); // pack with segment and t to stay in 32 bytes
|
2016-04-27 21:59:20 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
void checkdisk(struct reader *r, int nreader);
|
2016-04-27 22:09:06 +00:00
|
|
|
|
|
|
|
extern int geometry_scale;
|
|
|
|
extern int quiet;
|
|
|
|
|
2016-10-15 00:11:57 +00:00
|
|
|
extern size_t CPUS;
|
|
|
|
extern size_t TEMP_FILES;
|
2016-10-24 22:33:14 +00:00
|
|
|
|
|
|
|
extern size_t max_tile_size;
|
2016-12-07 18:57:56 +00:00
|
|
|
|
|
|
|
int mkstemp_cloexec(char *name);
|
|
|
|
FILE *fopen_oflag(const char *name, const char *mode, int oflag);
|
2017-07-07 05:28:35 +00:00
|
|
|
|
2017-05-31 17:41:23 +00:00
|
|
|
#define MAX_ZOOM 24
|