Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
34 CURL *curl;
42 curl = curl_easy_init();
43 if(!curl) {
50 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
51 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
52 test_setopt(curl, CURLOPT_VERBOSE, 1L);
54 test_setopt(curl, CURLOPT_URL, URL);
55 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL);
56 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS);
57 test_setopt(curl, CURLOPT_USERAGENT, "test567");
60 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers);
62 res = curl_easy_perform(curl);
68 curl_easy_cleanup(curl);