Lines Matching full:curl
12 * are also available at https://curl.haxx.se/docs/copyright.html.
45 CURL *curl; in test() local
58 curl = curl_easy_init(); in test()
59 if(!curl) { in test()
66 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
67 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
68 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
70 test_setopt(curl, CURLOPT_URL, URL); in test()
78 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
82 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles"); in test()
83 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); in test()
84 res = curl_easy_perform(curl); in test()
93 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
108 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER); in test()
110 test_setopt(curl, CURLOPT_READDATA, paramsf); in test()
111 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
112 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
114 res = curl_easy_perform(curl); in test()
118 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test()
128 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
132 res = curl_easy_perform(curl); in test()
143 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
147 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER); in test()
148 test_setopt(curl, CURLOPT_POSTFIELDS, "packets_received\njitter\n"); in test()
150 res = curl_easy_perform(curl); in test()
154 test_setopt(curl, CURLOPT_POSTFIELDS, NULL); in test()
162 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
166 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
167 res = curl_easy_perform(curl); in test()
179 curl_easy_cleanup(curl); in test()