curl-library
Get what WRITEFUNCTION will return ?
From: Iskander Ben mahmoud <salexandre.bm_at_gmail.com>
Date: Sat, 26 Feb 2011 15:49:02 +0100
Date: Sat, 26 Feb 2011 15:49:02 +0100
Hi everyone :)
There is any way to get what WriteFunction will return ?
if my write function was :
size_t verif_function(void *ptr, size_t size, size_t nmemb, void *userdata)
{
if(strlen(ptr)>144)
return 0;
else
return 1;
}
and possibly used like this :
curl_easy_setopt(handle,WRITEFUNCTION,verif_function);
Thanks
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-26