Home | History | Annotate | Download | only in testcurl

Lines Matching refs:CURL

37 #include <curl/curl.h>
105 CURL *curl = curl_easy_init ();
106 //curl_easy_setopt(curl, CURLOPT_POST, 1L);
109 curl_easy_setopt (curl, CURLOPT_URL, url);
110 curl_easy_setopt (curl, CURLOPT_WRITEFUNCTION, write_data);
112 CURLcode success = curl_easy_perform (curl);
115 fprintf (stderr, "CURL Error");
121 curl_easy_cleanup (curl);