Home
last modified time | relevance | path

Searched refs:curl_headers (Results 1 – 1 of 1) sorted by relevance

/device/google/cuttlefish/host/commands/fetcher/
Dcurl_wrapper.cc37 curl_slist* curl_headers = nullptr; in build_slist() local
39 curl_slist* temp = curl_slist_append(curl_headers, str.c_str()); in build_slist()
42 if (curl_headers) { in build_slist()
43 curl_slist_free_all(curl_headers); in build_slist()
47 curl_headers = temp; in build_slist()
49 return curl_headers; in build_slist()
77 curl_slist* curl_headers = build_slist(headers); in DownloadToFile() local
80 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, curl_headers); in DownloadToFile()
92 if (curl_headers) { in DownloadToFile()
93 curl_slist_free_all(curl_headers); in DownloadToFile()
[all …]