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

Comparing ray/src/util/eplus_idf.h (file contents):
Revision 2.2 by greg, Sat Feb 1 02:13:24 2014 UTC vs.
Revision 2.3 by greg, Sun Feb 9 02:18:16 2014 UTC

# Line 40 | Line 40 | typedef struct {
40          char                    *hrem;          /* header remarks */
41          IDF_PARAMETER           *pfirst;        /* first parameter in file */
42          IDF_PARAMETER           *plast;         /* last parameter loaded */
43 <        LUTAB                   ptab;           /* parameter table */
43 >        LUTAB                   ptab;           /* parameter hash table */
44   } IDF_LOADED;
45  
46 < /* Create a new parameter with empty field list (comment optional) */
46 > /* Create a new parameter with empty field list (comment & prev optional) */
47   extern IDF_PARAMETER    *idf_newparam(IDF_LOADED *idf, const char *pname,
48 <                                                        const char *comm,
49 <                                                IDF_PARAMETER *prev);
48 >                                        const char *comm, IDF_PARAMETER *prev);
49  
50   /* Add a field to the given parameter and follow with the given text */
51   extern int              idf_addfield(IDF_PARAMETER *param, const char *fval,
52                                                          const char *comm);
53 +
54 + /* Retrieve the indexed field from parameter (first field index is 1) */
55 + extern IDF_FIELD        *idf_getfield(IDF_PARAMETER *param, int fn);
56  
57   /* Delete the specified parameter from our IDF */
58   extern int              idf_delparam(IDF_LOADED *idf, IDF_PARAMETER *param);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines