aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-24 12:59:45 +0200
committerMax Kellermann <max@duempel.org>2014-08-24 13:24:20 +0200
commit42af040fbd0cd2b9942f02ace3462ee8ac41d3ac (patch)
tree77501fc829969fe8bf07739329ca5431fbdded29 /src/config
parentd383d617c2d16bda9f32fe31e0171a59f4601f89 (diff)
downloadmpd-42af040fbd0cd2b9942f02ace3462ee8ac41d3ac.tar.gz
mpd-42af040fbd0cd2b9942f02ace3462ee8ac41d3ac.tar.xz
mpd-42af040fbd0cd2b9942f02ace3462ee8ac41d3ac.zip
StateFile: configurable interval
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ConfigOption.hxx1
-rw-r--r--src/config/ConfigTemplates.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/config/ConfigOption.hxx b/src/config/ConfigOption.hxx
index 506c9e9dc..8eb4c7eaf 100644
--- a/src/config/ConfigOption.hxx
+++ b/src/config/ConfigOption.hxx
@@ -32,6 +32,7 @@ enum ConfigOption {
CONF_LOG_FILE,
CONF_PID_FILE,
CONF_STATE_FILE,
+ CONF_STATE_FILE_INTERVAL,
CONF_RESTORE_PAUSED,
CONF_USER,
CONF_GROUP,
diff --git a/src/config/ConfigTemplates.cxx b/src/config/ConfigTemplates.cxx
index 8eaa22bdd..58ee56425 100644
--- a/src/config/ConfigTemplates.cxx
+++ b/src/config/ConfigTemplates.cxx
@@ -32,6 +32,7 @@ const ConfigTemplate config_templates[] = {
{ "log_file", false, false },
{ "pid_file", false, false },
{ "state_file", false, false },
+ { "state_file_interval", false, false },
{ "restore_paused", false, false },
{ "user", false, false },
{ "group", false, false },