Lines Matching refs:ch
125 CURL *ch; in main() local
129 ch = curl_easy_init(); in main()
130 curl_easy_setopt(ch, CURLOPT_VERBOSE, 0L); in main()
131 curl_easy_setopt(ch, CURLOPT_HEADER, 0L); in main()
132 curl_easy_setopt(ch, CURLOPT_NOPROGRESS, 1L); in main()
133 curl_easy_setopt(ch, CURLOPT_NOSIGNAL, 1L); in main()
134 curl_easy_setopt(ch, CURLOPT_WRITEFUNCTION, writefunction); in main()
135 curl_easy_setopt(ch, CURLOPT_WRITEDATA, stdout); in main()
136 curl_easy_setopt(ch, CURLOPT_HEADERFUNCTION, writefunction); in main()
137 curl_easy_setopt(ch, CURLOPT_HEADERDATA, stderr); in main()
138 curl_easy_setopt(ch, CURLOPT_SSLCERTTYPE, "PEM"); in main()
139 curl_easy_setopt(ch, CURLOPT_SSL_VERIFYPEER, 1L); in main()
140 curl_easy_setopt(ch, CURLOPT_URL, "https://www.example.com/"); in main()
146 curl_easy_setopt(ch, CURLOPT_CAINFO, NULL); in main()
147 curl_easy_setopt(ch, CURLOPT_CAPATH, NULL); in main()
152 rv = curl_easy_perform(ch); in main()
166 curl_easy_setopt(ch, CURLOPT_FRESH_CONNECT, 1L); in main()
172 curl_easy_setopt(ch, CURLOPT_SSL_CTX_FUNCTION, sslctx_function); in main()
173 rv = curl_easy_perform(ch); in main()
179 curl_easy_cleanup(ch); in main()