curl_slist_append

This function appends a string to a linked list of strings. The existing list should be passed as the first argument and the new list is returned from this function. Pass in SList_Empty (0) in the list argument to create a new list. The specified string has been appended when this function returns. see also https://curl.haxx.se/libcurl/c/curl_slist_append.html

Syntax

native curl_slist: curl_slist_append(curl_slist: list, string[])

Usage

list Existing list
string Some string

Return

A — null pointer is returned if anything went wrong, otherwise the new list pointer is returned.

Defined in curl.inc at line 182 . This documentation was automatically generated from source.