mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
Keep documentation for public api only in headers to avoid duplication.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4755 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
006add0851
commit
75352a5998
4 changed files with 0 additions and 23 deletions
|
|
@ -38,8 +38,6 @@ CONFIG_NODE *config_node_find(CONFIG_NODE *node, const char *key)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* 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_NODE *parent, const char *key, int new_type)
|
||||
{
|
||||
return config_node_section_index(parent, key, -1, new_type);
|
||||
|
|
@ -80,8 +78,6 @@ CONFIG_NODE *config_node_section_index(CONFIG_NODE *parent, const char *key,
|
|||
return node;
|
||||
}
|
||||
|
||||
/* find the section with the whole path.
|
||||
create the path if necessary `create' is TRUE. */
|
||||
CONFIG_NODE *config_node_traverse(CONFIG_REC *rec, const char *section, int create)
|
||||
{
|
||||
CONFIG_NODE *node;
|
||||
|
|
@ -203,8 +199,6 @@ int config_node_get_bool(CONFIG_NODE *parent, const char *key, int def)
|
|||
(i_toupper(*str) == 'O' && i_toupper(str[1]) == 'N');
|
||||
}
|
||||
|
||||
/* Get the value of keys `key' and `key_value' and put them to
|
||||
`ret_key' and `ret_value'. Returns -1 if not found. */
|
||||
int config_node_get_keyvalue(CONFIG_NODE *node, const char *key, const char *value_key, char **ret_key, char **ret_value)
|
||||
{
|
||||
CONFIG_NODE *keynode, *valuenode;
|
||||
|
|
@ -237,7 +231,6 @@ int config_node_get_keyvalue(CONFIG_NODE *node, const char *key, const char *val
|
|||
return -1;
|
||||
}
|
||||
|
||||
/* Return all values from from the list `node' in a g_strsplit() array */
|
||||
char **config_node_get_list(CONFIG_NODE *node)
|
||||
{
|
||||
GString *values;
|
||||
|
|
@ -268,7 +261,6 @@ char **config_node_get_list(CONFIG_NODE *node)
|
|||
return ret;
|
||||
}
|
||||
|
||||
/* Returns n'th node from list. */
|
||||
CONFIG_NODE *config_node_nth(CONFIG_NODE *node, int index)
|
||||
{
|
||||
GSList *tmp;
|
||||
|
|
@ -289,7 +281,6 @@ CONFIG_NODE *config_node_nth(CONFIG_NODE *node, int index)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
/* Returns index for given key */
|
||||
int config_node_index(CONFIG_NODE *parent, const char *key)
|
||||
{
|
||||
CONFIG_NODE *node;
|
||||
|
|
@ -317,7 +308,6 @@ int config_node_index(CONFIG_NODE *parent, const char *key)
|
|||
return -1;
|
||||
}
|
||||
|
||||
/* Returns the first non-comment node in list */
|
||||
GSList *config_node_first(GSList *list)
|
||||
{
|
||||
while (list != NULL) {
|
||||
|
|
@ -330,7 +320,6 @@ GSList *config_node_first(GSList *list)
|
|||
return list;
|
||||
}
|
||||
|
||||
/* Returns the next non-comment node in list */
|
||||
GSList *config_node_next(GSList *list)
|
||||
{
|
||||
list = list->next;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue