Lines Matching refs:hdrcbdata
65 int tool_write_headers(struct HdrCbData *hdrcbdata, FILE *stream) in tool_write_headers() argument
67 struct curl_slist *h = hdrcbdata->headlist; in tool_write_headers()
78 curl_slist_free_all(hdrcbdata->headlist); in tool_write_headers()
79 hdrcbdata->headlist = NULL; in tool_write_headers()
91 struct HdrCbData *hdrcbdata = &per->hdrcbdata; in tool_header_cb() local
186 else if(hdrcbdata->honor_cd_filename) { in tool_header_cb()
235 hdrcbdata->honor_cd_filename = FALSE; /* done now! */ in tool_header_cb()
238 if(tool_write_headers(&per->hdrcbdata, outs->stream)) in tool_header_cb()
245 if(tool_write_headers(&per->hdrcbdata, outs->stream)) in tool_header_cb()
249 if(hdrcbdata->honor_cd_filename && in tool_header_cb()
250 hdrcbdata->config->show_headers) { in tool_header_cb()
255 struct curl_slist *old = hdrcbdata->headlist; in tool_header_cb()
256 hdrcbdata->headlist = curl_slist_append(old, clone); in tool_header_cb()
258 if(!hdrcbdata->headlist) { in tool_header_cb()
264 curl_slist_free_all(hdrcbdata->headlist); in tool_header_cb()
265 hdrcbdata->headlist = NULL; in tool_header_cb()
272 if(hdrcbdata->config->writeout) { in tool_header_cb()
283 if(hdrcbdata->config->show_headers && in tool_header_cb()
292 if(hdrcbdata->global->isatty && in tool_header_cb()
296 hdrcbdata->global->styled_output) in tool_header_cb()