cURL / Mailing Lists / curl-library / Single Mail

curl-library

Problem to write in progress call back function and POST option

From: Ajeet kumar.S <ajeetkumar.s_at_jasmin-infotech.com>
Date: Fri, 18 Jul 2008 20:12:23 +0530

Dear all,

Thanks allot to all of you for your support. Till now I did not get
success to implement login method using post. Still I m trying to solve this
issue. Now I have one doubt I am trying to implement
progresscallback_function.

The curl option I set is written below:

    curl_easy_setopt(curl, CURLOPT_NOPROGRESS, FALSE);

    curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION,
progresscallback_function.);

    curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, stopcontent);

the call back function is written below:

 

int progresscallback_function(char *stopcontent)

{

   Return(0);

}

 

Please guide me on how to write progresscallback function. Can I pass here
to thread type.

Actually I want to control curl_easy_perform() function.

Thank you.

Regards,

Ajeet Kumar Singh

 

 
Received on 2008-07-18