Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
30 CURL *curl;
37 curl = curl_easy_init();
38 if(!curl) {
44 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
45 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
46 test_setopt(curl, CURLOPT_VERBOSE, 1L);
48 test_setopt(curl, CURLOPT_URL, URL);
49 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL);
51 test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
52 test_setopt(curl, CURLOPT_USERNAME, "user");
53 test_setopt(curl, CURLOPT_PASSWORD, "password");
54 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_DESCRIBE);
56 res = curl_easy_perform(curl);
64 curl_easy_cleanup(curl);