| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
return type of callback functions
From: <centrio_at_gmail.com>
Date: Thu, 02 Apr 2009 06:15:27 +0000
Hi
I want to return -1 in my header and data callback function. I want this so
libcurl doc says "The callback function must return the number of bytes
The signature of callback functions should be
size_t is unsigned int. So if I return -1 to libcurl, will it treat it as a
I wanted help on this matter since when I run pc-lint on my code, It gives
I have done something like this
const size_t ABORT_TRANSFER = -1;
size_t ContentCallback(void* ptr, size_t size, size_t nmemb, void* userp)
I want to know if its safe to do const size_t ABORT_TRANSFER = -1 here and
Thanks and regards
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info