aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigFile.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 17:53:13 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 19:05:33 +0100
commitdaa46477125145dd943122c8064c7271a1a9429f (patch)
treea61133ceccefa6f5a4bc6be49ecc97c5877a2002 /src/ConfigFile.cxx
parentc67668d6dde56b6e25f3bc0f8a5965ffb0945d41 (diff)
downloadmpd-daa46477125145dd943122c8064c7271a1a9429f.tar.gz
mpd-daa46477125145dd943122c8064c7271a1a9429f.tar.xz
mpd-daa46477125145dd943122c8064c7271a1a9429f.zip
ConfigOption: rename to ConfigTemplate
Diffstat (limited to 'src/ConfigFile.cxx')
-rw-r--r--src/ConfigFile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ConfigFile.cxx b/src/ConfigFile.cxx
index c49e4a486..2c8238c2f 100644
--- a/src/ConfigFile.cxx
+++ b/src/ConfigFile.cxx
@@ -19,7 +19,7 @@
#include "config.h"
#include "conf.h"
-#include "ConfigOptions.hxx"
+#include "ConfigTemplates.hxx"
extern "C" {
#include "utils.h"
@@ -46,7 +46,7 @@ extern "C" {
#define CONF_COMMENT '#'
-static GSList *config_params[G_N_ELEMENTS(config_options)];
+static GSList *config_params[G_N_ELEMENTS(config_templates)];
static bool
get_bool(const char *value, bool *value_r)
@@ -318,7 +318,7 @@ ReadConfigFile(const Path &path, GError **error_r)
return false;
}
- const ConfigOption &option = config_options[i];
+ const ConfigTemplate &option = config_templates[i];
GSList *&params = config_params[i];
if (params != NULL && !option.repeatable) {