| 20 |
|
#define IDMAP24FMT "24-bit_indexed_name" |
| 21 |
|
#define IDMAPFMT "*-bit_indexed_name" |
| 22 |
|
|
| 23 |
< |
#define HF_HEADOUT 0x2 |
| 24 |
< |
#define HF_RESOUT 0x8 |
| 23 |
> |
#define HF_HEADOUT 0x2 /* copy header to stdout */ |
| 24 |
> |
#define HF_RESOUT 0x8 /* copy resolution */ |
| 25 |
> |
#define HF_STDERR 0x10 /* report errors to stderr */ |
| 26 |
|
|
| 27 |
|
/* Structure for reading identifier maps */ |
| 28 |
|
typedef struct { |
| 29 |
|
FILE *finp; /* input file pointer */ |
| 30 |
|
long dstart; /* start of data */ |
| 30 |
– |
long curpos; /* current input position */ |
| 31 |
|
RESOLU res; /* input resolution */ |
| 32 |
|
int bytespi; /* 1, 2, or 3 bytes per index */ |
| 33 |
|
int nids; /* ID count */ |