summaryrefslogtreecommitdiff
path: root/src/core/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index 72cf6193..cea8c4d0 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -74,6 +74,10 @@ SETTINGS_REC *settings_get_record(const char *key);
void settings_check_module(const char *module);
#define settings_check() settings_check_module(MODULE_NAME)
+/* remove all invalid settings from config file. works only with the
+ modules that have already called settings_check() */
+void settings_clean_invalid(void);
+
/* if `fname' is NULL, the default is used */
int settings_reread(const char *fname);
int settings_save(const char *fname);