Lines Matching refs:curl
42 CURL *curl; in main() local
45 curl = curl_easy_init(); in main()
46 if(curl) { in main()
48 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); in main()
49 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); in main()
52 curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com/1"); in main()
59 curl_easy_setopt(curl, CURLOPT_USE_SSL, (long)CURLUSESSL_ALL); in main()
73 curl_easy_setopt(curl, CURLOPT_CAINFO, "/path/to/certificate.pem"); in main()
78 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); in main()
81 res = curl_easy_perform(curl); in main()
89 curl_easy_cleanup(curl); in main()