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

Comparing ray/src/cv/trans.h (file contents):
Revision 2.2 by greg, Sat Feb 22 02:07:23 2003 UTC vs.
Revision 2.4 by schorsch, Sat Nov 15 17:54:06 2003 UTC

# Line 4 | Line 4
4   *
5   *      Greg Ward
6   */
7 + #ifndef _RAD_TRANS_H_
8 + #define _RAD_TRANS_H_
9 + #ifdef __cplusplus
10 + extern "C" {
11 + #endif
12  
13 +
14   #define MAXSTR          128     /* maximum input string length */
15  
16   #define VOIDID          "void"  /* null modifier */
# Line 42 | Line 48 | typedef struct rule {
48   #define rulsiz(nq)      (sizeof(RULEHD)+(nq)*sizeof(IDMATCH))
49   #define idm(rp)         ((IDMATCH *)((rp)+1))
50  
51 < char    *savestr();
52 < RULEHD  *getmapping();
51 >
52 >        /* defined in common/savestr.c - XXX one of several declarations */
53 > char    *savestr(char *str);
54 >        /* defined in trans.c */
55 > RULEHD  *getmapping(char *file, QLIST *qlp);
56 >
57 > extern int fgetid(ID *idp, char *dls, FILE *fp);
58 > extern int findid(IDLIST *idl, ID *idp, int insert);
59 > extern int matchid(ID *it, IDMATCH *im);
60 > extern void write_quals(QLIST *qlp, IDLIST idl[], FILE *fp);
61 >
62 >
63 > #ifdef __cplusplus
64 > }
65 > #endif
66 > #endif /* _RAD_TRANS_H_ */
67 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines