Lines Matching refs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
39 CURL *curl;
57 curl = curl_easy_init();
58 if(!curl) {
65 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
66 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
67 test_setopt(curl, CURLOPT_VERBOSE, 1L);
69 test_setopt(curl, CURLOPT_URL, URL);
71 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
72 res = curl_easy_perform(curl);
87 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
92 test_setopt(curl, CURLOPT_RTSP_TRANSPORT,
94 res = curl_easy_perform(curl);
98 curl_easy_getinfo(curl, CURLINFO_RTSP_SESSION_ID, &rtsp_session_id);
107 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
111 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_TEARDOWN);
112 res = curl_easy_perform(curl);
115 test_setopt(curl, CURLOPT_RTSP_SESSION_ID, NULL);
124 curl_easy_cleanup(curl);