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

Comparing ray/src/common/rtio.h (file contents):
Revision 3.9 by greg, Sat Dec 23 17:27:45 2006 UTC vs.
Revision 3.14 by greg, Tue Dec 13 18:38:35 2016 UTC

# Line 11 | Line 11
11   #include  <fcntl.h>
12   #include  <string.h>
13  
14 + #ifdef getc_unlocked            /* avoid horrendous overhead of flockfile */
15 + #undef getc
16 + #undef putc
17 + #define getc    getc_unlocked
18 + #define putc    putc_unlocked
19 + #endif
20 +
21   #ifdef __cplusplus
22   extern "C" {
23   #endif
24                                          /* defined in badarg.c */
25   extern int      badarg(int ac, char **av, char *fl);
26                                          /* defined in expandarg.c */
27 + extern int      envexpchr, filexpchr;
28   extern int      expandarg(int *acp, char ***avp, int n);
29                                          /* defined in fdate.c */
30   extern time_t   fdate(char *fname);
# Line 34 | Line 42 | extern FILE    *frlibopen(char *fname);
42                                          /* defined in getlibpath.c */
43   extern char     *getrlibpath(void);
44                                          /* defined in gethomedir.c */
45 < extern char *gethomedir(char *uname, char *path, int plen);
45 > extern char     *gethomedir(char *uname, char *path, int plen);
46                                          /* defined in getpath.c */
47   extern char     *getpath(char *fname, char *searchpath, int mode);
48                                          /* defined in byteswap.c */
# Line 45 | Line 53 | extern void    swap64(char *wp, int n);
53   extern void     putstr(char *s, FILE *fp);
54   extern void     putint(long i, int siz, FILE *fp);
55   extern void     putflt(double f, FILE *fp);
56 + extern int      putbinary(const void *s, int elsiz, int nel, FILE *fp);
57   extern char     *getstr(char *s, FILE *fp);
58   extern long     getint(int siz, FILE *fp);
59   extern double   getflt(FILE *fp);
60 + extern int      getbinary(void *s, int elsiz, int nel, FILE *fp);
61                                          /* defined in rexpr.c */
62   extern int      ecompile(char *sp, int iflg, int wflag);
63   extern char     *expsave(void);
# Line 61 | Line 71 | extern int     shash(char *s);
71   extern char     *savqstr(char *s);
72   extern void     freeqstr(char *s);
73                                          /* defined in wordfile.c */
74 < extern int      wordfile(char **words, char *fname);
75 < extern int      wordstring(char **avl, char *str);
74 > extern int      wordfile(char **words, int nargs, char *fname);
75 > extern int      wordstring(char **avl, int nargs, char *str);
76                                          /* defined in words.c */
77   extern char     *atos(char *rs, int nb, char *s);
78   extern char     *nextword(char *cp, int nb, char *s);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines