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 |
25 |
|
|
22 |
– |
#include "copyright.h" |
23 |
– |
|
26 |
|
/* flags for scanline ordering */ |
27 |
|
#define XDECR 1 |
28 |
|
#define YDECR 2 |
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); |
76 |
– |
|
79 |
|
|
80 |
|
#ifdef __cplusplus |
81 |
|
} |