Lines Matching refs:ch
179 CURL *ch; in main() local
183 ch = curl_easy_init(); in main()
184 curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main()
185 curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main()
186 curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main()
187 curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L); in main()
188 curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, writefunction); in main()
189 curl_easy_setopt(ch, CURLOPT_WRITEDATA, stdout); in main()
190 curl_easy_setopt(ch, CURLOPT_HEADERFUNCTION, writefunction); in main()
191 curl_easy_setopt(ch, CURLOPT_HEADERDATA, stderr); in main()
192 curl_easy_setopt(ch, CURLOPT_SSLCERTTYPE, "PEM"); in main()
197 curl_easy_setopt(ch, CURLOPT_SSL_VERIFYPEER, 0L); in main()
198 curl_easy_setopt(ch, CURLOPT_SSL_VERIFYHOST, 0L); in main()
199 curl_easy_setopt(ch, CURLOPT_URL, "https://www.example.com/"); in main()
200 curl_easy_setopt(ch, CURLOPT_SSLKEYTYPE, "PEM"); in main()
203 rv = curl_easy_perform(ch); in main()
215 curl_easy_setopt(ch, CURLOPT_SSL_CTX_FUNCTION, sslctx_function); in main()
216 rv = curl_easy_perform(ch); in main()
224 curl_easy_cleanup(ch); in main()