ConfigFile: add enum ConfigOption

Look up top-level config options by enum (= integer), not by name
string.
This commit is contained in:
Max Kellermann
2013-01-30 17:52:51 +01:00
parent daa4647712
commit 595b6a4f6c
16 changed files with 278 additions and 197 deletions

View File

@@ -33,7 +33,8 @@
#include <stdlib.h>
const char *
config_get_string(G_GNUC_UNUSED const char *name, const char *default_value)
config_get_string(gcc_unused enum ConfigOption option,
const char *default_value)
{
return default_value;
}