/curl/docs/examples/ |
H A D | certinfo.c | 71 struct curl_slist *slist; in main() local 73 for(slist = certinfo->certinfo[i]; slist; slist = slist->next) in main() 74 printf("%s\n", slist->data); in main()
|
H A D | smtp-mime.c | 80 struct curl_slist *slist = NULL; in main() local 133 slist = curl_slist_append(NULL, "Content-Disposition: inline"); in main() 134 curl_mime_headers(part, slist, 1); in main()
|
/curl/docs/libcurl/ |
H A D | curl_slist_append.md | 16 curl_slist_append - add a string to an slist 46 struct curl_slist *slist = NULL; 49 slist = curl_slist_append(slist, "pragma:"); 51 if(!slist) 54 temp = curl_slist_append(slist, "Accept:"); 57 curl_slist_free_all(slist); 61 slist = temp; 63 curl_easy_setopt(handle, CURLOPT_HTTPHEADER, slist); 67 curl_slist_free_all(slist); /* free the list again */
|
H A D | curl_slist_free_all.md | 45 struct curl_slist *slist = NULL; 47 slist = curl_slist_append(slist, "X-libcurl: coolness"); 49 if(!slist) 52 curl_easy_setopt(handle, CURLOPT_HTTPHEADER, slist); 56 curl_slist_free_all(slist); /* free the list again */
|
H A D | curl_mime_subparts.md | 58 struct curl_slist *slist; 78 slist = curl_slist_append(NULL, "Content-Disposition: inline"); 79 curl_mime_headers(part, slist, 1);
|
/curl/tests/libtest/ |
H A D | lib3102.c | 43 struct curl_slist *slist = cert_info->certinfo[cert]; in is_chain_in_order() local 48 for(; slist && (!issuer || !subject); slist = slist->next) { in is_chain_in_order() 52 if(!strncmp(slist->data, issuer_prefix, sizeof(issuer_prefix)-1)) { in is_chain_in_order() 53 issuer = slist->data + sizeof(issuer_prefix)-1; in is_chain_in_order() 55 if(!strncmp(slist->data, subject_prefix, sizeof(subject_prefix)-1)) { in is_chain_in_order() 56 subject = slist->data + sizeof(subject_prefix)-1; in is_chain_in_order()
|
H A D | lib510.c | 68 struct curl_slist *slist = NULL; in test() local 84 slist = curl_slist_append(slist, "Transfer-Encoding: chunked"); in test() 85 if(!slist) { in test() 111 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test() 124 if(slist) in test() 125 curl_slist_free_all(slist); in test()
|
H A D | lib539.c | 33 struct curl_slist *slist = NULL; in test() local 64 slist = curl_slist_append(NULL, "SYST"); in test() 65 if(!slist) { in test() 74 test_setopt(curl, CURLOPT_QUOTE, slist); in test() 80 curl_slist_free_all(slist); in test()
|
H A D | lib1510.c | 41 struct curl_slist *slist = NULL, *slist2; in test() local 52 slist2 = curl_slist_append(slist, dnsentry); in test() 57 slist = slist2; in test() 72 easy_setopt(curl, CURLOPT_RESOLVE, slist); in test() 98 curl_slist_free_all(slist); in test()
|
H A D | lib579.c | 99 struct curl_slist *slist = NULL; in test() local 115 slist = curl_slist_append(slist, "Transfer-Encoding: chunked"); in test() 116 if(!slist) { in test() 142 test_setopt(curl, CURLOPT_HTTPHEADER, slist); in test() 161 if(slist) in test() 162 curl_slist_free_all(slist); in test()
|
H A D | lib1512.c | 44 struct curl_slist *slist = NULL; in test() local 57 slist = curl_slist_append(slist, dnsentry); in test() 80 easy_setopt(curl[0], CURLOPT_RESOLVE, slist); in test() 93 curl_slist_free_all(slist); in test()
|
H A D | lib2402.c | 43 struct curl_slist *slist = NULL; in test() local 52 slist = curl_slist_append(slist, dnsentry); in test() 53 if(!slist) { in test() 88 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test() 136 curl_slist_free_all(slist); in test()
|
H A D | lib2404.c | 43 struct curl_slist *slist = NULL; in test() local 52 slist = curl_slist_append(slist, dnsentry); in test() 53 if(!slist) { in test() 88 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test() 138 curl_slist_free_all(slist); in test()
|
H A D | lib2502.c | 44 struct curl_slist *slist = NULL; in test() local 53 slist = curl_slist_append(slist, dnsentry); in test() 54 if(!slist) { in test() 92 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test() 140 curl_slist_free_all(slist); in test()
|
H A D | lib661.c | 32 struct curl_slist *slist = NULL; in test() local 111 slist = curl_slist_append(NULL, "SYST"); in test() 112 if(!slist) { in test() 122 test_setopt(curl, CURLOPT_QUOTE, slist); in test() 141 test_setopt(curl, CURLOPT_QUOTE, slist); in test() 154 test_setopt(curl, CURLOPT_QUOTE, slist); in test() 162 curl_slist_free_all(slist); in test()
|
H A D | lib1506.c | 43 struct curl_slist *slist = NULL, *slist2; in test() local 54 slist2 = curl_slist_append(slist, dnsentry); in test() 59 slist = slist2; in test() 85 easy_setopt(curl[i], CURLOPT_RESOLVE, slist); in test() 133 curl_slist_free_all(slist); in test()
|
H A D | mk-lib1521.pl | 339 struct curl_slist *slist = NULL; 570 print $fh "$c &slist);\n$check";
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_CERTINFO.md | 76 struct curl_slist *slist; 78 for(slist = ci->certinfo[i]; slist; slist = slist->next) 79 printf("%s\n", slist->data);
|
H A D | CURLINFO_CERTINFO.md | 83 struct curl_slist *slist; 85 for(slist = ci->certinfo[i]; slist; slist = slist->next) 86 printf("%s\n", slist->data);
|
H A D | CURLINFO_SSL_ENGINES.md | 20 CURLINFO_SSL_ENGINES - get an slist of OpenSSL crypto-engines
|
/curl/src/ |
H A D | tool_doswin.c | 621 struct curl_slist *slist = NULL; in GetLoadedModulePaths() local 650 temp = curl_slist_append(slist, path); in GetLoadedModulePaths() 653 slist = temp; in GetLoadedModulePaths() 659 curl_slist_free_all(slist); in GetLoadedModulePaths() 660 slist = NULL; in GetLoadedModulePaths() 664 return slist; in GetLoadedModulePaths()
|
H A D | tool_writeout.c | 322 struct curl_slist *slist; in writeString() local 324 for(slist = per->certinfo->certinfo[i]; slist; slist = slist->next) { in writeString() 326 if(curl_strnequal(slist->data, "cert:", 5)) { in writeString() 327 if(curlx_dyn_add(&buf, &slist->data[5])) { in writeString() 333 if(curlx_dyn_add(&buf, slist->data)) { in writeString()
|
H A D | tool_setopt.c | 395 static CURLcode libcurl_generate_slist(struct curl_slist *slist, int *slistno) in libcurl_generate_slist() argument 407 for(; slist; slist = slist->next) { in libcurl_generate_slist() 409 escaped = c_escape(slist->data, ZERO_TERMINATED); in libcurl_generate_slist()
|
/curl/lib/ |
H A D | setopt.c | 1421 struct curl_slist *slist) in setopt_slist() argument 1437 data->set.proxyheaders = slist; in setopt_slist() 1445 data->set.http200aliases = slist; in setopt_slist() 1453 data->set.postquote = slist; in setopt_slist() 1459 data->set.prequote = slist; in setopt_slist() 1465 data->set.quote = slist; in setopt_slist() 1482 data->set.resolve = slist; in setopt_slist() 1490 data->set.headers = slist; in setopt_slist() 1498 data->set.telnet_options = slist; in setopt_slist() 1504 data->set.mail_rcpt = slist; in setopt_slist() [all …]
|
H A D | Makefile.inc | 214 slist.c \ 350 slist.h \
|