Lines Matching defs:per
70 struct per_transfer *per = userdata;
71 struct HdrCbData *hdrcbdata = &per->hdrcbdata;
72 struct OutStruct *outs = &per->outs;
73 struct OutStruct *heads = &per->heads;
74 struct OutStruct *etag_save = &per->etag_save;
80 if(!per->config)
85 warnf(per->config->global, "Header data exceeds single call write limit");
100 if(per->config->headerfile && heads->stream) {
111 if(per->config->etag_save_file && etag_save->stream) {
140 curl_easy_getinfo(per->curl, CURLINFO_SCHEME, &scheme);
181 if(per->config->output_dir) {
182 outs->filename = aprintf("%s/%s", per->config->output_dir, filename);
195 if(!tool_create_output_file(outs, per->config))
200 if(!outs->stream && !tool_create_output_file(outs, per->config))
206 if(per->was_last_header_empty)
207 per->num_headers = 0;
208 per->was_last_header_empty = FALSE;
209 per->num_headers++;
212 per->was_last_header_empty = TRUE;
220 if(!outs->stream && !tool_create_output_file(outs, per->config))
236 write_linked_location(per->curl, &value[1], cb - namelen - 1,