• 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()
68 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
69 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
70 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
72 test_setopt(curl, CURLOPT_URL, URL); in test()
80 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
84 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles"); in test()
85 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
86 res = curl_easy_perform(curl); in test()
95 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
110 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER); in test()
112 test_setopt(curl, CURLOPT_READDATA, paramsf); in test()
113 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
114 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
116 res = curl_easy_perform(curl); in test()
120 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test()
130 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
134 res = curl_easy_perform(curl); in test()
145 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
149 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER); in test()
150 test_setopt(curl, CURLOPT_POSTFIELDS, "packets_received\njitter\n"); in test()
152 res = curl_easy_perform(curl); in test()
156 test_setopt(curl, CURLOPT_POSTFIELDS, NULL); in test()
164 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
168 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
169 res = curl_easy_perform(curl); in test()
181 curl_easy_cleanup(curl); in test()