24 #define ENABLE_CURLX_PRINTF 41 warnf(global,
"Remote filename has no length!\n");
50 warnf(global,
"Refusing to overwrite %s: %s\n", outs->
filename,
59 warnf(global,
"Failed to create the file %s: %s\n", outs->
filename,
80 size_t bytes = sz * nmemb;
89 const size_t failure = bytes ? 0 : 1;
102 warnf(config->
global,
"Header data size exceeds single call write " 109 warnf(config->
global,
"Data size exceeds single call write limit!\n");
116 bool check_fails =
FALSE;
138 warnf(config->
global,
"Invalid output struct data for write callback\n");
149 if(memchr(buffer, 0, bytes)) {
150 warnf(config->
global,
"Binary output can mess up your terminal. " 151 "Use \"--output -\" to tell curl to output it to your terminal " 152 "anyway, or consider \"--output <FILE>\" to save to a file.\n");
162 outs->
bytes += bytes;
CURL_EXTERN void curl_free(void *p)
#define CURL_MAX_WRITE_SIZE
CURL_EXTERN CURLcode curl_easy_pause(CURL *handle, int bitmask)
struct GlobalConfig * global
curl_error synthetic_error
struct OperationConfig * config
#define CURL_MAX_HTTP_HEADER