Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
40 CURL *curl[NUM_HANDLES] = {NULL, NULL};
54 msnprintf(dnsentry, sizeof(dnsentry), "server.example.curl:%s:%s",
62 easy_init(curl[i]);
65 "http://server.example.curl:%s/path/1512%04i",
68 easy_setopt(curl[i], CURLOPT_URL, target_url);
70 easy_setopt(curl[i], CURLOPT_VERBOSE, 1L);
72 easy_setopt(curl[i], CURLOPT_HEADER, 1L);
75 easy_setopt(curl[i], CURLOPT_DNS_USE_GLOBAL_CACHE, 1L);
80 easy_setopt(curl[0], CURLOPT_RESOLVE, slist);
84 res = curl_easy_perform(curl[i]);
91 curl_easy_cleanup(curl[0]);
92 curl_easy_cleanup(curl[1]);