• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/docs/examples/

Lines Matching defs:easy

35 of URL's and creates some new easy handles to fetch each URL via the
79 /* Information associated with a specific easy handle */
81 CURL *easy;
91 CURL *easy;
124 /* Check for completed transfers, and remove their easy handles */
131 CURL *easy;
137 easy = msg->easy_handle;
139 curl_easy_getinfo(easy, CURLINFO_PRIVATE, &conn);
140 curl_easy_getinfo(easy, CURLINFO_EFFECTIVE_URL, &eff_url);
142 curl_multi_remove_handle(g->multi, easy);
144 curl_easy_cleanup(easy);
229 f->easy = e;
238 static void addsock(curl_socket_t s, CURL *easy, int action, GlobalInfo *g)
244 setsock(fdp, s, easy, action, g);
301 /* Create a new easy handle, and add it to the global curl_multi */
311 conn->easy = curl_easy_init();
312 if (!conn->easy) {
318 curl_easy_setopt(conn->easy, CURLOPT_URL, conn->url);
319 curl_easy_setopt(conn->easy, CURLOPT_WRITEFUNCTION, write_cb);
320 curl_easy_setopt(conn->easy, CURLOPT_WRITEDATA, &conn);
321 curl_easy_setopt(conn->easy, CURLOPT_VERBOSE, (long)SHOW_VERBOSE);
322 curl_easy_setopt(conn->easy, CURLOPT_ERRORBUFFER, conn->error);
323 curl_easy_setopt(conn->easy, CURLOPT_PRIVATE, conn);
324 curl_easy_setopt(conn->easy, CURLOPT_NOPROGRESS, SHOW_PROGRESS?0L:1L);
325 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSFUNCTION, prog_cb);
326 curl_easy_setopt(conn->easy, CURLOPT_PROGRESSDATA, conn);
327 curl_easy_setopt(conn->easy, CURLOPT_FOLLOWLOCATION, 1L);
328 curl_easy_setopt(conn->easy, CURLOPT_CONNECTTIMEOUT, 30L);
329 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_LIMIT, 1L);
330 curl_easy_setopt(conn->easy, CURLOPT_LOW_SPEED_TIME, 30L);
332 MSG_OUT("Adding easy %p to multi %p (%s)\n", conn->easy, g->multi, url);
333 rc =curl_multi_add_handle(g->multi, conn->easy);