libgslutil  1.2.3
Data Fields

Structure for configuration file with subsections. More...

+ Collaboration diagram for gslutil_cffile2_t:

Data Fields

struct gslutil_cffile_tglobal
 Values occurring before any [marked] subsections.
 
struct gslutil_cffile2_subsectionsubsections
 List of subsections, in order they were encountered.
 
int num_sub
 Number of subsections.
 
int size_sub
 Size of subsections array.
 

Detailed Description

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().