Searched refs:headerlist (Results 1 – 7 of 7) sorted by relevance
/curl/docs/examples/ |
H A D | ftpupload.c | 77 struct curl_slist *headerlist = NULL; in main() local 100 headerlist = curl_slist_append(headerlist, buf_1); in main() 101 headerlist = curl_slist_append(headerlist, buf_2); in main() 113 curl_easy_setopt(curl, CURLOPT_POSTQUOTE, headerlist); in main() 133 curl_slist_free_all(headerlist); in main()
|
H A D | postit2-formadd.c | 57 struct curl_slist *headerlist = NULL; in main() local 89 headerlist = curl_slist_append(headerlist, buf); in main() 95 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in main() 116 curl_slist_free_all(headerlist); in main()
|
H A D | postit2.c | 53 struct curl_slist *headerlist = NULL; in main() local 80 headerlist = curl_slist_append(headerlist, buf); in main() 85 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in main() 101 curl_slist_free_all(headerlist); in main()
|
H A D | multi-formadd.c | 48 struct curl_slist *headerlist = NULL; in main() local 80 headerlist = curl_slist_append(headerlist, buf); in main() 87 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in main() 117 curl_slist_free_all(headerlist); in main()
|
H A D | multi-post.c | 43 struct curl_slist *headerlist = NULL; in main() local 70 headerlist = curl_slist_append(headerlist, buf); in main() 76 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in main() 101 curl_slist_free_all(headerlist); in main()
|
/curl/tests/libtest/ |
H A D | lib553.c | 65 struct curl_slist *headerlist = NULL, *hl; in test() local 83 hl = curl_slist_append(headerlist, testbuf); in test() 86 headerlist = hl; in test() 89 hl = curl_slist_append(headerlist, "Expect: "); in test() 92 headerlist = hl; in test() 95 test_setopt(curl, CURLOPT_HTTPHEADER, headerlist); in test() 108 curl_slist_free_all(headerlist); in test()
|
H A D | lib505.c | 48 struct curl_slist *headerlist = NULL; in test() local 99 hl = curl_slist_append(headerlist, buf_1); in test() 107 headerlist = curl_slist_append(hl, buf_2); in test() 108 if(!headerlist) { in test() 116 headerlist = hl; in test() 128 test_setopt(curl, CURLOPT_POSTQUOTE, headerlist); in test() 143 curl_slist_free_all(headerlist); in test()
|
Completed in 47 milliseconds