Home
last modified time | relevance | path

Searched refs:slist (Results 1 – 25 of 26) sorted by relevance

12

/curl/docs/examples/
H A Dcertinfo.c71 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 Dsmtp-mime.c80 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 Dcurl_slist_append.md16 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 Dcurl_slist_free_all.md45 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 Dcurl_mime_subparts.md58 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 Dlib3102.c43 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 Dlib510.c68 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 Dlib539.c33 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 Dlib1510.c41 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 Dlib579.c99 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 Dlib1512.c44 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 Dlib2402.c43 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 Dlib2404.c43 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 Dlib2502.c44 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 Dlib661.c32 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 Dlib1506.c43 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 Dmk-lib1521.pl339 struct curl_slist *slist = NULL;
570 print $fh "$c &slist);\n$check";
/curl/docs/libcurl/opts/
H A DCURLOPT_CERTINFO.md76 struct curl_slist *slist;
78 for(slist = ci->certinfo[i]; slist; slist = slist->next)
79 printf("%s\n", slist->data);
H A DCURLINFO_CERTINFO.md83 struct curl_slist *slist;
85 for(slist = ci->certinfo[i]; slist; slist = slist->next)
86 printf("%s\n", slist->data);
H A DCURLINFO_SSL_ENGINES.md20 CURLINFO_SSL_ENGINES - get an slist of OpenSSL crypto-engines
/curl/src/
H A Dtool_doswin.c621 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 Dtool_writeout.c322 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 Dtool_setopt.c395 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 Dsetopt.c1421 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 DMakefile.inc214 slist.c \
350 slist.h \

Completed in 28 milliseconds

12