Lines Matching defs:list
13 * this list of conditions and the following disclaimer.
16 * this list of conditions and the following disclaimer in the documentation
803 /** list of result items */
804 struct config_strlist_head list;
814 if(!cfg_strlist_append(&m->list, strdup(line)))
819 struct config_strlist** list)
823 *list = NULL;
827 config_delstrlist(m.list.first);
830 *list = m.list.first;
837 struct config_strlist* list = NULL;
840 if((r = config_get_option_list(cfg, opt, &list)) != 0)
842 *str = config_collate_cat(list);
843 config_delstrlist(list);
849 config_collate_cat(struct config_strlist* list)
854 if(!list) /* no elements */
856 if(list->next == NULL) /* one element , no newline at end. */
857 return strdup(list->str);
859 for(s=list; s; s=s->next)
866 for(s=list; s; s=s->next) {
904 /** compare and print list option */
910 /** compare and print list option */
918 /** compare and print list option */
1219 * outgoing-permit, outgoing-avoid - have list of ports
1715 int cfg_strlist_append(struct config_strlist_head* list, char* item)
1718 if(!item || !list) {
1729 if(list->last)
1730 list->last->next = s;
1732 list->first = s;
1733 list->last = s;