Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
39 CURL *curl = NULL;
44 easy_init(curl);
46 easy_setopt(curl, CURLOPT_PROXY, libtest_arg2); /* set in first.c */
48 easy_setopt(curl, CURLOPT_WRITEFUNCTION, *WriteOutput);
49 easy_setopt(curl, CURLOPT_HEADERFUNCTION, *WriteHeader);
51 easy_setopt(curl, CURLOPT_HEADER, 1L);
52 easy_setopt(curl, CURLOPT_VERBOSE, 1L);
53 easy_setopt(curl, CURLOPT_URL, URL);
54 easy_setopt(curl, CURLOPT_HTTPPROXYTUNNEL, 1L);
56 code = curl_easy_perform(curl);
65 code = curl_easy_getinfo(curl, CURLINFO_HEADER_SIZE, &headerSize);
79 curl_easy_cleanup(curl);