int opencbm_configuration_set_data(opencbm_configuration_handle Handle, const char Section[], const char Entry[], const char Value[])
Write/Change data to/in the configuration file.
int opencbm_configuration_enum_data(opencbm_configuration_handle Handle, const char Section[], opencbm_configuration_enum_data_callback_t Callback, void *Context)
Enumerate data in the configuration file.
const char * configuration_get_default_filename(void)
Get the default filename for the configuration file.
int opencbm_configuration_close(opencbm_configuration_handle Handle)
Close the configuration file.
const char * configuration_get_default_filename_for_install(unsigned int local_install)
Get the default filename for the configuration file on installation.
int opencbm_configuration_flush(opencbm_configuration_handle Handle)
Flush the configuration file.
int opencbm_configuration_enum_sections(opencbm_configuration_handle Handle, opencbm_configuration_enum_sections_callback_t Callback, void *Context)
Enumerate sections in the configuration file.
int opencbm_configuration_get_data(opencbm_configuration_handle Handle, const char Section[], const char Entry[], char **ReturnBuffer)
Read data from the configuration file.
int opencbm_configuration_enum_data_callback_t(opencbm_configuration_handle Handle, const char Section[], const char Entry[], void *Context)
Callback type for entry enumeration.
opencbm_configuration_handle opencbm_configuration_create(const char *Filename)
Creates the configuration file for reading and writing.
struct opencbm_configuration_s * opencbm_configuration_handle
Handle to a configuration file.
int opencbm_configuration_enum_sections_callback_t(opencbm_configuration_handle Handle, const char Section[], void *Context)
Callback type for section enumeration.
opencbm_configuration_handle opencbm_configuration_open(const char *Filename)
Open the configuration file.