Lines Matching refs:list
38 struct slist_wc *slist_wc_append(struct slist_wc *list, in slist_wc_append() argument
46 if(!list) { in slist_wc_append()
47 list = malloc(sizeof(struct slist_wc)); in slist_wc_append()
49 if(!list) { in slist_wc_append()
54 list->first = new_item; in slist_wc_append()
55 list->last = new_item; in slist_wc_append()
56 return list; in slist_wc_append()
59 list->last->next = new_item; in slist_wc_append()
60 list->last = list->last->next; in slist_wc_append()
61 return list; in slist_wc_append()
65 void slist_wc_free_all(struct slist_wc *list) in slist_wc_free_all() argument
67 if(!list) in slist_wc_free_all()
70 curl_slist_free_all(list->first); in slist_wc_free_all()
71 free(list); in slist_wc_free_all()