mirror of
https://github.com/irssi/irssi.git
synced 2026-08-23 18:42:53 +02:00
rename node to parent to prevent having variables at 2 scopes with the same name.
This commit is contained in:
parent
0912a11050
commit
308ee024f2
2 changed files with 5 additions and 5 deletions
|
|
@ -113,7 +113,7 @@ int config_set_bool(CONFIG_REC *rec, const char *section, const char *key, int v
|
|||
|
||||
/* Handling the configuration directly with nodes -
|
||||
useful when you need to read all values in a block/list. */
|
||||
CONFIG_NODE *config_node_find(CONFIG_NODE *node, const char *key);
|
||||
CONFIG_NODE *config_node_find(CONFIG_NODE *parent, const char *key);
|
||||
/* Find the section from node - if not found create it unless new_type is -1.
|
||||
You can also specify in new_type if it's NODE_TYPE_LIST or NODE_TYPE_BLOCK */
|
||||
CONFIG_NODE *config_node_section(CONFIG_REC *rec, CONFIG_NODE *parent, const char *key, int new_type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue