cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: using curl_easy_pause()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Aug 2010 23:47:03 +0200 (CEST)

On Thu, 5 Aug 2010, Hrishikesh Murukkathampoondi wrote:

> curl_easy_pause() should be called from one of the callback functions.

Correct, if the easy interface is used anyway.

> I guess the CURL handle should be packaged as an argument into the callback
> function somehow.

You control exactly what is passed into the callbacks' data argument so you
can pass in the CURL handle and whatever else you need.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-05