diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-11 13:25:33 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-11 13:25:33 +0000 |
commit | 75352a5998f3660e037b56da413fb382d7e00828 (patch) | |
tree | 2697edcad94cf23010243bce54820a60d0feadf6 /src/lib-config/get.c | |
parent | 006add0851444533667440fe31bcd125379ed0c7 (diff) | |
download | irssi-75352a5998f3660e037b56da413fb382d7e00828.zip |
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
Diffstat (limited to 'src/lib-config/get.c')
-rw-r--r-- | src/lib-config/get.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib-config/get.c b/src/lib-config/get.c index 77cb584c..0c062dff 100644 --- a/src/lib-config/get.c +++ b/src/lib-config/get.c @@ -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; |