Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
60 CURL *curl;
70 if((curl = curl_easy_init()) == NULL) {
91 test_setopt(curl, CURLOPT_URL, URL);
92 test_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
93 test_setopt(curl, CURLOPT_POST, 1L);
96 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
98 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)POSTLEN);
99 test_setopt(curl, CURLOPT_VERBOSE, 1L);
100 test_setopt(curl, CURLOPT_HEADER, 1L);
101 test_setopt(curl, CURLOPT_READFUNCTION, myreadfunc);
103 res = curl_easy_perform(curl);
107 curl_easy_cleanup(curl);