| 2 |
|
/* |
| 3 |
|
* Definitions for resolution line in image file. |
| 4 |
|
* |
| 5 |
< |
* Include after <stdio.h>, <string.h>, and <time.h> |
| 5 |
> |
* Include after <stdio.h> |
| 6 |
|
* |
| 7 |
|
* True image orientation is defined by an xy coordinate system |
| 8 |
|
* whose origin is at the lower left corner of the image, with |
| 15 |
|
*/ |
| 16 |
|
#ifndef _RAD_RESOLU_H_ |
| 17 |
|
#define _RAD_RESOLU_H_ |
| 18 |
+ |
|
| 19 |
+ |
#include <time.h> |
| 20 |
+ |
|
| 21 |
+ |
|
| 22 |
|
#ifdef __cplusplus |
| 23 |
|
extern "C" { |
| 24 |
|
#endif |
| 72 |
|
extern int isformat(char *s); |
| 73 |
|
extern int formatval(char *r, char *s); |
| 74 |
|
extern void fputformat(char *s, FILE *fp); |
| 75 |
< |
extern int getheader(FILE *fp, int (*f)(), char *p); |
| 75 |
> |
typedef int gethfunc(char *s, void *p); /* callback to process header lines */ |
| 76 |
> |
extern int getheader(FILE *fp, gethfunc *f, void *p); |
| 77 |
|
extern int globmatch(char *pat, char *str); |
| 78 |
|
extern int checkheader(FILE *fin, char *fmt, FILE *fout); |
| 79 |
|
|