Lines Matching refs:list
23 struct curl_slist *curl_slist_append(struct curl_slist *list,
29 curl_slist_append(3) appends a string to a linked list of strings. The
30 existing **list** should be passed as the first argument and the new list is
31 returned from this function. Pass in NULL in the **list** argument to create
32 a new list. The specified **string** has been appended when this function
35 The list should be freed again (after usage) with
67 curl_slist_free_all(slist); /* free the list again */
75 A null pointer is returned if anything went wrong, otherwise the new list
76 pointer is returned. To avoid overwriting an existing non-empty list on
77 failure, the new list should be returned to a temporary variable which can
78 be tested for NULL before updating the original list pointer.