Searched refs:curl_handle (Results 1 - 8 of 8) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/docs/examples/ |
H A D | sepheaders.c | 36 CURL *curl_handle; local 45 curl_handle = curl_easy_init(); 48 curl_easy_setopt(curl_handle, CURLOPT_URL, "http://example.com"); 51 curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); 54 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); 59 curl_easy_cleanup(curl_handle); 64 curl_easy_cleanup(curl_handle); 69 curl_easy_setopt(curl_handle, CURLOPT_WRITEHEADER, headerfile); 72 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, bodyfile); 75 curl_easy_perform(curl_handle); [all...] |
H A D | url2file.c | 36 CURL *curl_handle; local 48 curl_handle = curl_easy_init(); 51 curl_easy_setopt(curl_handle, CURLOPT_URL, argv[1]); 54 curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 1L); 57 curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); 60 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); 68 curl_easy_setopt(curl_handle, CURLOPT_FILE, pagefile); 71 curl_easy_perform(curl_handle); 78 curl_easy_cleanup(curl_handle);
|
H A D | getinmemory.c | 61 CURL *curl_handle; local 72 curl_handle = curl_easy_init(); 75 curl_easy_setopt(curl_handle, CURLOPT_URL, "http://www.example.com/"); 78 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteMemoryCallback); 81 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk); 85 curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "libcurl-agent/1.0"); 88 res = curl_easy_perform(curl_handle); 107 curl_easy_cleanup(curl_handle);
|
H A D | chkspeed.c | 61 CURL *curl_handle; local 132 curl_handle = curl_easy_init(); 135 curl_easy_setopt(curl_handle, CURLOPT_URL, url); 138 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteCallback); 142 curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, 146 res = curl_easy_perform(curl_handle); 152 res = curl_easy_getinfo(curl_handle, CURLINFO_SIZE_DOWNLOAD, &val); 157 res = curl_easy_getinfo(curl_handle, CURLINFO_TOTAL_TIME, &val); 162 res = curl_easy_getinfo(curl_handle, CURLINFO_SPEED_DOWNLOAD, &val); 168 res = curl_easy_getinfo(curl_handle, CURLINFO_NAMELOOKUP_TIM [all...] |
H A D | multi-uv.c | 43 CURLM *curl_handle; variable 94 curl_multi_add_handle(curl_handle, handle); 116 curl_multi_socket_action(curl_handle, context->sockfd, flags, 119 while ((message = curl_multi_info_read(curl_handle, &pending))) { 126 curl_multi_remove_handle(curl_handle, message->easy_handle); 140 curl_multi_socket_action(curl_handle, CURL_SOCKET_TIMEOUT, 0, 163 curl_multi_assign(curl_handle, s, (void *) curl_context); 177 curl_multi_assign(curl_handle, s, NULL); 201 curl_handle = curl_multi_init(); 202 curl_multi_setopt(curl_handle, CURLMOPT_SOCKETFUNCTIO [all...] |
H A D | xmlstream.c | 108 CURL *curl_handle; local 125 curl_handle = curl_easy_init(); 126 curl_easy_setopt(curl_handle, CURLOPT_URL, "http://www.w3schools.com/xml/simple.xml"); 127 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, parseStreamCallback); 128 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)parser); 133 res = curl_easy_perform(curl_handle); 154 curl_easy_cleanup(curl_handle);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/include/curl/ |
H A D | multi.h | 124 CURL *curl_handle); 134 CURL *curl_handle);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/ |
H A D | multi.c | 477 CURL *curl_handle) 480 struct SessionHandle *easy = curl_handle; 488 if(!GOOD_EASY_HANDLE(curl_handle)) 476 curl_multi_remove_handle(CURLM *multi_handle, CURL *curl_handle) argument
|
Completed in 221 milliseconds