libgslutil
1.2.3
|
Structure for configuration file with subsections. More...
Data Fields | |
struct gslutil_cffile_t * | global |
Values occurring before any [marked] subsections. | |
struct gslutil_cffile2_subsection * | subsections |
List of subsections, in order they were encountered. | |
int | num_sub |
Number of subsections. | |
int | size_sub |
Size of subsections array. | |
Structure for configuration file with subsections.
This structure is used to hold a parsed configuration file with sections. Anything in the global section (i.e. name = value pairs before any [marked] subsections) is stored in the global member.
Can be allocated with gslutil_cffile2_alloc(), loaded with gslutil_cffile2_load() and freed with gslutil_cffile2_free(). Subsections can be added with gslutil_cffile2_add_subsection().