Lines Matching full:curl
12 * are also available at https://curl.haxx.se/docs/copyright.html.
45 CURL *curl; in test() local
58 if((curl = curl_easy_init()) == NULL) { in test()
64 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
65 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
67 test_setopt(curl, CURLOPT_URL, URL); in test()
73 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
87 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
89 test_setopt(curl, CURLOPT_READDATA, sdpf); in test()
90 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
91 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
94 res = curl_easy_perform(curl); in test()
98 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test()
107 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
111 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_DESCRIBE); in test()
112 res = curl_easy_perform(curl); in test()
122 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
132 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers); in test()
133 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
134 test_setopt(curl, CURLOPT_POSTFIELDS, in test()
135 "postyfield=postystuff&project=curl\n"); in test()
137 res = curl_easy_perform(curl); in test()
141 test_setopt(curl, CURLOPT_POSTFIELDS, NULL); in test()
142 test_setopt(curl, CURLOPT_RTSPHEADER, NULL); in test()
151 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
155 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
156 res = curl_easy_perform(curl); in test()
168 curl_easy_cleanup(curl); in test()