gpAux/extensions/gps3ext/src/s3restful_service.cpp
// curl's headers write function callback.
curl's headers write function callback.
curl ' s headers write function callback .
size_t RESTfulServiceHeadersWriteFuncCallback(char *ptr, size_t size, size_t nmemb, void *userp) {
    if (QueryCancelPending) {
        return -1;
    }
    size_t realsize = size * nmemb;
    Response *resp = (Response *)userp;
    resp->appendHeadersBuffer(ptr, realsize);
    return realsize;
}
size_t RESTfulServiceHeadersWriteFuncCallback ( char * ptr , size_t size , size_t nmemb , void * userp ) { if ( QueryCancelPending ) { return -1 ; } size_t realsize = size * nmemb ; Response * resp = ( Response * ) userp ; resp -> appendHeadersBuffer ( ptr , realsize ) ; return realsize ; }
curl's headers write function callback.
curl ' s headers write function callback .