Ecore Config File Functions
Functions that are used to load and save properties from and to files. More...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_SUCCon success.ECORE_CONFIG_ERR_NODATAis 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_SUCCis returned on success.ECORE_CONFIG_ERR_FAILis 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_SUCCon success.ECORE_CONFIG_ERR_NODATAis 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_SUCCis returned on success.ECORE_CONFIG_ERR_FAILis returned if the data cannot be saved.
References ecore_config_file_save().