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.1 by greg, Tue Nov 12 17:02:01 1991 UTC vs.
Revision 2.4 by schorsch, Sat Nov 15 17:54:06 2003 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1990 Regents of the University of California */
2 <
3 < /* SCCSid "$SunId$ LBL" */
4 <
1 > /* RCSid: $Id$ */
2   /*
3   * Translator definitions
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 45 | Line 48 | typedef struct rule {
48   #define rulsiz(nq)      (sizeof(RULEHD)+(nq)*sizeof(IDMATCH))
49   #define idm(rp)         ((IDMATCH *)((rp)+1))
50  
51 < char    *malloc(), *calloc(), *realloc();
52 < char    *savestr();
53 < 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