Searched refs:headerlist (Results 1 - 6 of 6) sorted by relevance

/external/curl/docs/examples/
H A Dpostit2.c52 struct curl_slist *headerlist=NULL; local
82 headerlist = curl_slist_append(headerlist, buf);
88 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
104 curl_slist_free_all (headerlist);
H A Dftpupload.c74 struct curl_slist *headerlist=NULL; local
97 headerlist = curl_slist_append(headerlist, buf_1);
98 headerlist = curl_slist_append(headerlist, buf_2);
110 curl_easy_setopt(curl, CURLOPT_POSTQUOTE, headerlist);
130 curl_slist_free_all (headerlist);
H A Dmulti-post.c42 struct curl_slist *headerlist=NULL; local
72 headerlist = curl_slist_append(headerlist, buf);
79 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
168 curl_slist_free_all (headerlist);
/external/curl/tests/libtest/
H A Dlib505.c47 struct curl_slist *headerlist=NULL; local
100 hl = curl_slist_append(headerlist, buf_1);
108 headerlist = curl_slist_append(hl, buf_2);
109 if(!headerlist) {
117 headerlist = hl;
129 test_setopt(curl, CURLOPT_POSTQUOTE, headerlist);
144 curl_slist_free_all(headerlist);
H A Dlib553.c63 struct curl_slist *headerlist=NULL, *hl; local
80 hl = curl_slist_append(headerlist, buf);
83 headerlist = hl;
86 hl = curl_slist_append(headerlist, "Expect: ");
89 headerlist = hl;
92 test_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
109 curl_slist_free_all(headerlist);
/external/google-breakpad/src/common/linux/
H A Dhttp_upload.cc147 struct curl_slist *headerlist = NULL; local
151 headerlist = (*curl_slist_append)(headerlist, buf);
152 (*curl_easy_setopt)(curl, CURLOPT_HTTPHEADER, headerlist);
190 if (headerlist != NULL) {
193 (*curl_slist_free_all)(headerlist);

Completed in 165 milliseconds