• Home
  • Raw
  • Download

Lines Matching full:curl

12  * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
47 CURL *curl; in test() local
60 curl = curl_easy_init(); in test()
61 if(!curl) { in test()
67 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
68 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
70 test_setopt(curl, CURLOPT_URL, URL); in test()
77 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
93 test_setopt(curl, CURLOPT_READDATA, sdpf); in test()
94 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
95 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
98 res = curl_easy_perform(curl); in test()
102 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test()
112 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
116 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_DESCRIBE); in test()
117 res = curl_easy_perform(curl); in test()
128 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
138 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers); in test()
139 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
140 test_setopt(curl, CURLOPT_POSTFIELDS, in test()
141 "postyfield=postystuff&project=curl\n"); in test()
143 res = curl_easy_perform(curl); in test()
147 test_setopt(curl, CURLOPT_POSTFIELDS, NULL); in test()
148 test_setopt(curl, CURLOPT_RTSPHEADER, NULL); in test()
158 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
162 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
163 res = curl_easy_perform(curl); in test()
175 curl_easy_cleanup(curl); in test()