Lines Matching refs:type
57 h->origin = (unsigned int)(hs->type | (1 << 27)); in copy_header_external()
65 unsigned int type, in curl_easy_header() argument
77 (type > (CURLH_HEADER|CURLH_TRAILER|CURLH_CONNECT|CURLH_1XX| in curl_easy_header()
78 CURLH_PSEUDO)) || !type || (request < -1)) in curl_easy_header()
91 (hs->type & type) && in curl_easy_header()
110 (hs->type & type) && in curl_easy_header()
129 unsigned int type, in curl_easy_nextheader() argument
159 if((hs->type & type) && (hs->request == request)) in curl_easy_nextheader()
177 (check->type & type)) in curl_easy_nextheader()
188 static CURLcode namevalue(char *header, size_t hlen, unsigned int type, in namevalue() argument
195 if(type == CURLH_PSEUDO) { in namevalue()
278 unsigned char type) in Curl_headers_push() argument
322 result = namevalue(hs->buffer, hlen, type, &name, &value); in Curl_headers_push()
326 hs->type = type; in Curl_headers_push()
352 struct Curl_cwriter *writer, int type, in hds_cw_collect_write() argument
355 if((type & CLIENTWRITE_HEADER) && !(type & CLIENTWRITE_STATUS)) { in hds_cw_collect_write()
357 (type & CLIENTWRITE_CONNECT ? CURLH_CONNECT : in hds_cw_collect_write()
358 (type & CLIENTWRITE_1XX ? CURLH_1XX : in hds_cw_collect_write()
359 (type & CLIENTWRITE_TRAILER ? CURLH_TRAILER : in hds_cw_collect_write()
367 return Curl_cwriter_write(data, writer->next, type, buf, blen); in hds_cw_collect_write()
439 unsigned int type, in curl_easy_nextheader() argument
444 (void)type; in curl_easy_nextheader()