Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
40 #include <curl/curl.h>
86 CURL *curl;
89 curl = curl_easy_init();
90 if(curl) {
91 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
94 curl_easy_setopt(curl, CURLOPT_CONV_FROM_NETWORK_FUNCTION,
96 curl_easy_setopt(curl, CURLOPT_CONV_TO_NETWORK_FUNCTION,
98 curl_easy_setopt(curl, CURLOPT_CONV_FROM_UTF8_FUNCTION,
101 res = curl_easy_perform(curl);
104 curl_easy_cleanup(curl);