ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/resolu.h
(Generate patch)

Comparing ray/src/common/resolu.h (file contents):
Revision 2.9 by schorsch, Fri Jan 2 11:35:17 2004 UTC vs.
Revision 2.14 by greg, Fri Jul 19 17:37:56 2019 UTC

# Line 2 | Line 2
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
# Line 16 | Line 16
16   #ifndef _RAD_RESOLU_H_
17   #define _RAD_RESOLU_H_
18  
19 #include <time.h>
20
21
19   #ifdef __cplusplus
20   extern "C" {
21   #endif
# Line 55 | Line 52 | extern char  resolu_buf[RESOLU_BUFLEN];
52   #define  fprtresolu(sl,ns,fp)   fprintf(fp,PIXSTDFMT,ns,sl)
53   #define  fscnresolu(sl,ns,fp)   (fscanf(fp,PIXSTDFMT,ns,sl)==2)
54  
55 <                                        /* defined in resolu.c */
55 >                        /* defined in resolu.c */
56   extern void     fputresolu(int ord, int sl, int ns, FILE *fp);
57   extern int      fgetresolu(int *sl, int *ns, FILE *fp);
58   extern char *   resolu2str(char *buf, RESOLU *rp);
59   extern int      str2resolu(RESOLU *rp, char *buf);
63                                        /* defined in header.c */
64 extern void     newheader(char *t, FILE *fp);
65 extern int      isheadid(char *s);
66 extern int      headidval(char *r, char *s);
67 extern int      dateval(time_t *t, char *s);
68 extern int      isdate(char *s);
69 extern void     fputdate(time_t t, FILE *fp);
70 extern void     fputnow(FILE *fp);
71 extern void     printargs(int ac, char **av, FILE *fp);
72 extern int      isformat(char *s);
73 extern int      formatval(char *r, char *s);
74 extern void     fputformat(char *s, FILE *fp);
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);
60  
61   #ifdef __cplusplus
62   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines