OpenCBM
Data Fields
opencbm_configuration_section_s Struct Reference

Data Fields

opencbm_configuration_section_tNext
 
opencbm_configuration_entry_tEntries
 
char * Name
 
char * Comment
 

Detailed Description

this structs holds a complete section in a configuration file. That is, it is the equivalent of a line of the form [NAME] # Comment and a list of the following lines (Entries) until the next section begins. If the stored section name is a NULL pointer, we are in the first section, before the first line of the form [...]. This is a dummy section only.

Definition at line 69 of file configuration.c.

Field Documentation

char* opencbm_configuration_section_s::Comment

an (optional) comment which is on the line where the section starts, if any

Definition at line 73 of file configuration.c.

opencbm_configuration_entry_t* opencbm_configuration_section_s::Entries

pointer to a linked list of the entries in this section

Definition at line 71 of file configuration.c.

Referenced by opencbm_configuration_entry_remove(), and opencbm_configuration_enum_data().

char* opencbm_configuration_section_s::Name

the name of this section

Definition at line 72 of file configuration.c.

Referenced by opencbm_configuration_enum_data(), and opencbm_configuration_enum_sections().

opencbm_configuration_section_t* opencbm_configuration_section_s::Next

pointer to the next section; NULL if this is the last one

Definition at line 70 of file configuration.c.

Referenced by opencbm_configuration_enum_sections(), and opencbm_configuration_section_remove().


The documentation for this struct was generated from the following file: