Searched refs:hdr (Results 1 – 10 of 10) sorted by relevance
/curl/docs/examples/ |
H A D | getreferrer.c | 49 char *hdr; in main() local 50 res = curl_easy_getinfo(curl, CURLINFO_REFERER, &hdr); in main() 51 if((res == CURLE_OK) && hdr) in main() 52 printf("Referrer header: %s\n", hdr); in main()
|
/curl/tests/ |
H A D | test1222.pl | 47 my %hdr; # Public header files deprecations. 102 $hdr{$1} = $2; 111 $hdr{$1} = "X"; 128 $hdr{$1} = $version; 132 $hdr{$1} = $version; 265 foreach my $sym (keys %hdr) { 283 my %keys = (%syminver, %funcman, %optman, %hdr); 300 my $h = exists($hdr{$sym})? $hdr{$sym}: " ";
|
/curl/docs/libcurl/opts/ |
H A D | CURLINFO_REFERER.md | 52 char *hdr = NULL; 53 curl_easy_getinfo(curl, CURLINFO_REFERER, &hdr); 54 if(hdr) 55 printf("Referrer header: %s\n", hdr);
|
/curl/tests/unit/ |
H A D | unit1660.c | 52 const char *hdr; /* if NULL, just do the lookup */ 143 if(headers[i].hdr) { 144 result = Curl_hsts_parse(h, headers[i].host, headers[i].hdr); 148 headers[i].hdr, result);
|
/curl/lib/ |
H A D | http_ntlm.c | 85 unsigned char *hdr; in Curl_input_ntlm() local 88 result = Curl_base64_decode(header, &hdr, &hdrlen); in Curl_input_ntlm() 93 Curl_bufref_set(&hdrbuf, hdr, hdrlen, curl_free); in Curl_input_ntlm()
|
H A D | mime.c | 341 if(strncasecompare(hdr->data, lbl, len) && hdr->data[len] == ':') in match_header() 354 value = match_header(hdrlist, hdr, len); in search_header() 935 if(!hdr) { in readback_part() 939 if(match_header(hdr, "Content-Type", 12)) { in readback_part() 945 if(!hdr) in readback_part() 949 hdr->data, strlen(hdr->data), STRCONST("\r\n")); in readback_part() 1681 struct curl_slist *hdr = NULL; in Curl_mime_add_header() local 1690 hdr = Curl_slist_append_nodup(*slp, s); in Curl_mime_add_header() 1691 if(hdr) in Curl_mime_add_header() 1692 *slp = hdr; in Curl_mime_add_header() [all …]
|
H A D | curl_ntlm_core.c | 267 BLOBHEADER hdr; in encrypt_des() member 280 blob.hdr.bType = PLAINTEXTKEYBLOB; in encrypt_des() 281 blob.hdr.bVersion = 2; in encrypt_des() 282 blob.hdr.aiKeyAlg = CALG_DES; in encrypt_des()
|
H A D | http.c | 2196 struct curl_slist *hdr; in Curl_http_req_complete() local 2198 for(hdr = data->state.mimepost->curlheaders; hdr; hdr = hdr->next) { in Curl_http_req_complete() 2199 result = Curl_dyn_addf(r, "%s\r\n", hdr->data); in Curl_http_req_complete()
|
/curl/tests/server/ |
H A D | tftpd.c | 123 struct tftphdr hdr; member 326 return &bfs[0].buf.hdr; in rw_init() 354 *dpp = &b->buf.hdr; /* set caller's ptr */ in readit() 376 dp = &b->buf.hdr; in read_ahead() 430 *dpp = &bfs[current].buf.hdr; in writeit() 470 dp = &b->buf.hdr; in write_behind() 823 tp = &buf.hdr; in main() 1172 struct tftphdr * const sap = &ackbuf.hdr; /* ack buffer */ in sendtftp() 1259 rap = &ackbuf.hdr; in recvtftp() 1360 tp = &buf.hdr; in nak()
|
/curl/src/ |
H A D | tool_formparse.c | 572 char *hdr; in get_param_part() local 577 hdr = get_param_word(config, &p, &endpos, endchar); in get_param_part() 579 if(hdr == tp) in get_param_part() 580 while(endpos > hdr && ISSPACE(endpos[-1])) in get_param_part() 584 if(slist_append(&headers, hdr)) { in get_param_part()
|
Completed in 31 milliseconds