Lines Matching refs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
47 CURL *curl;
60 curl = curl_easy_init();
61 if(!curl) {
68 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
69 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
70 test_setopt(curl, CURLOPT_VERBOSE, 1L);
72 test_setopt(curl, CURLOPT_URL, URL);
80 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
84 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles");
85 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
86 res = curl_easy_perform(curl);
95 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
110 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER);
112 test_setopt(curl, CURLOPT_READDATA, paramsf);
113 test_setopt(curl, CURLOPT_UPLOAD, 1L);
114 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size);
116 res = curl_easy_perform(curl);
120 test_setopt(curl, CURLOPT_UPLOAD, 0L);
130 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
134 res = curl_easy_perform(curl);
145 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
149 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER);
150 test_setopt(curl, CURLOPT_POSTFIELDS, "packets_received\njitter\n");
152 res = curl_easy_perform(curl);
156 test_setopt(curl, CURLOPT_POSTFIELDS, NULL);
164 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
168 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS);
169 res = curl_easy_perform(curl);
181 curl_easy_cleanup(curl);