summaryrefslogtreecommitdiff
path: root/src/core/settings.h
diff options
context:
space:
mode:
authorAilin Nemui <ailin@esf51.localdomain>2015-01-07 03:40:34 +0100
committerAilin Nemui <ailin@linux.site>2015-02-17 09:50:55 +0100
commit96d4fb9156bcef6fc14dbec43dfa0fcd0226d46f (patch)
tree27a1023f98d6a1b908fc4ce65995723cc5c56746 /src/core/settings.h
parent6b08cbe906bc2f13a34aca3195f8808d709c160c (diff)
downloadirssi-96d4fb9156bcef6fc14dbec43dfa0fcd0226d46f.zip
add CONFIG_REC to config_node_section* APIs
this adds the CONFIG_REC * to the config_node_section and config_node_section_index APIs as they will require access to the config cache later on to make the config parser more robust.
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index f8d9f68f..af00cc80 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -36,6 +36,8 @@ typedef struct {
#define iconfig_set_int(a, b, c) config_set_int(mainconfig, a, b, c)
#define iconfig_set_bool(a, b, c) config_set_bool(mainconfig, a, b, c)
+#define iconfig_node_section(a, b, c) config_node_section(mainconfig, a, b, c)
+#define iconfig_node_section_index(a, b, c, d) config_node_section_index(mainconfig, a, b, c, d)
#define iconfig_node_traverse(a, b) config_node_traverse(mainconfig, a, b)
#define iconfig_node_set_str(a, b, c) config_node_set_str(mainconfig, a, b, c)
#define iconfig_node_set_int(a, b, c) config_node_set_int(mainconfig, a, b, c)