Searched refs:curl_handle (Results 1 – 9 of 9) sorted by relevance
/curl/docs/examples/ |
H A D | sepheaders.c | 41 CURL *curl_handle; in main() local 50 curl_handle = curl_easy_init(); in main() 53 curl_easy_setopt(curl_handle, CURLOPT_URL, "https://example.com"); in main() 56 curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); in main() 59 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); in main() 64 curl_easy_cleanup(curl_handle); in main() 71 curl_easy_cleanup(curl_handle); in main() 77 curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA, headerfile); in main() 80 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, bodyfile); in main() 83 curl_easy_perform(curl_handle); in main() [all …]
|
H A D | url2file.c | 41 CURL *curl_handle; in main() local 53 curl_handle = curl_easy_init(); in main() 56 curl_easy_setopt(curl_handle, CURLOPT_URL, argv[1]); in main() 59 curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 1L); in main() 62 curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); in main() 65 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); in main() 72 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, pagefile); in main() 75 curl_easy_perform(curl_handle); in main() 82 curl_easy_cleanup(curl_handle); in main()
|
H A D | getinmemory.c | 64 CURL *curl_handle; in main() local 75 curl_handle = curl_easy_init(); in main() 78 curl_easy_setopt(curl_handle, CURLOPT_URL, "https://www.example.com/"); in main() 81 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteMemoryCallback); in main() 84 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk); in main() 88 curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "libcurl-agent/1.0"); in main() 91 res = curl_easy_perform(curl_handle); in main() 110 curl_easy_cleanup(curl_handle); in main()
|
H A D | chkspeed.c | 66 CURL *curl_handle; in main() local 162 curl_handle = curl_easy_init(); in main() 165 curl_easy_setopt(curl_handle, CURLOPT_URL, url); in main() 168 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteCallback); in main() 172 curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, in main() 176 res = curl_easy_perform(curl_handle); in main() 182 res = curl_easy_getinfo(curl_handle, CURLINFO_SIZE_DOWNLOAD_T, &val); in main() 187 res = curl_easy_getinfo(curl_handle, CURLINFO_TOTAL_TIME_T, &val); in main() 193 res = curl_easy_getinfo(curl_handle, CURLINFO_SPEED_DOWNLOAD_T, &val); in main() 206 res = curl_easy_getinfo(curl_handle, CURLINFO_CONNECT_TIME_T, &val); in main() [all …]
|
H A D | multi-event.c | 36 CURLM *curl_handle; variable 84 curl_multi_add_handle(curl_handle, handle); in add_download() 96 while((message = curl_multi_info_read(curl_handle, &pending))) { in check_multi_info() 110 curl_multi_remove_handle(curl_handle, easy_handle); in check_multi_info() 137 curl_multi_socket_action(curl_handle, context->sockfd, flags, in curl_perform() 146 curl_multi_socket_action(curl_handle, CURL_SOCKET_TIMEOUT, 0, in on_timeout() 181 curl_multi_assign(curl_handle, s, (void *) curl_context); in handle_socket() 200 curl_multi_assign(curl_handle, s, NULL); in handle_socket() 223 curl_handle = curl_multi_init(); in main() 225 curl_multi_setopt(curl_handle, CURLMOPT_TIMERFUNCTION, start_timeout); in main() [all …]
|
H A D | xmlstream.c | 116 CURL *curl_handle; in main() local 133 curl_handle = curl_easy_init(); in main() 134 curl_easy_setopt(curl_handle, CURLOPT_URL, in main() 136 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, parseStreamCallback); in main() 137 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)parser); in main() 142 res = curl_easy_perform(curl_handle); in main() 163 curl_easy_cleanup(curl_handle); in main()
|
/curl/include/curl/ |
H A D | multi.h | 137 CURL *curl_handle); 147 CURL *curl_handle);
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_UNIX_SOCKET_PATH.md | 80 curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, path);
|
/curl/packages/OS400/ |
H A D | curl.inc.in | 2970 d curl_handle * value CURL * 2976 d curl_handle * value CURL *
|
Completed in 17 milliseconds