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
892 /** list of result items */
893 struct config_strlist_head list;
903 if(!cfg_strlist_append(&m->list, strdup(line)))
908 struct config_strlist** list)
912 *list = NULL;
916 config_delstrlist(m.list.first);
919 *list = m.list.first;
926 struct config_strlist* list = NULL;
929 if((r = config_get_option_list(cfg, opt, &list)) != 0)
931 *str = config_collate_cat(list);
932 config_delstrlist(list);
938 config_collate_cat(struct config_strlist* list)
943 if(!list) /* no elements */
945 if(list->next == NULL) /* one element , no newline at end. */
946 return strdup(list->str);
948 for(s=list; s; s=s->next)
955 for(s=list; s; s=s->next) {
993 /** compare and print list option */
999 /** compare and print list option */
1007 /** compare and print list option */
1356 * outgoing-permit, outgoing-avoid - have list of ports
1931 int cfg_strlist_append(struct config_strlist_head* list, char* item)
1934 if(!item || !list) {
1945 if(list->last)
1946 list->last->next = s;
1948 list->first = s;
1949 list->last = s;