Ecore_Config_File_Group (3) - Linux Manuals

Ecore_Config_File_Group: Functions that are used to load and save properties from and to files.

NAME

Ecore Config File Functions - Functions that are used to load and save properties from and to files.

Functions


EAPI int ecore_config_load (void)
Loads the default configuration.
EAPI int ecore_config_save (void)
Saves the current configuration to the default file.
EAPI int ecore_config_file_load (const char *file)
Load the given configuration file to the local configuration.
EAPI int ecore_config_file_save (const char *file)
Saves the local configuration to the given file.

Detailed Description

Functions that are used to load and save properties from and to files.

Function Documentation

EAPI int ecore_config_file_load (const char * file)

Load the given configuration file to the local configuration.

Parameters:

file Name of the file to load.

Returns:

ECORE_CONFIG_ERR_SUCC on success. ECORE_CONFIG_ERR_NODATA is returned if the file cannot be loaded.

Referenced by ecore_config_load().

EAPI int ecore_config_file_save (const char * file)

Saves the local configuration to the given file.

Parameters:

file Name of the file to save to.

Returns:

ECORE_CONFIG_ERR_SUCC is returned on success. ECORE_CONFIG_ERR_FAIL is returned if the data cannot be saved.

Referenced by ecore_config_save().

EAPI int ecore_config_load (void)

Loads the default configuration.

Returns:

ECORE_CONFIG_ERR_SUCC on success. ECORE_CONFIG_ERR_NODATA is returned if the file cannot be loaded.

References ecore_config_file_load().

EAPI int ecore_config_save (void)

Saves the current configuration to the default file.

Returns:

ECORE_CONFIG_ERR_SUCC is returned on success. ECORE_CONFIG_ERR_FAIL is returned if the data cannot be saved.

References ecore_config_file_save().

Author

Generated automatically by Doxygen for Ecore from the source code.