• Home
  • Raw
  • Download

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()
65 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
66 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
68 test_setopt(curl, CURLOPT_URL, URL); in test()
75 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
89 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
91 test_setopt(curl, CURLOPT_READDATA, sdpf); in test()
92 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
93 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
96 res = curl_easy_perform(curl); in test()
100 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test()
110 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
114 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_DESCRIBE); in test()
115 res = curl_easy_perform(curl); in test()
126 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
136 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers); in test()
137 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
138 test_setopt(curl, CURLOPT_POSTFIELDS, in test()
139 "postyfield=postystuff&project=curl\n"); in test()
141 res = curl_easy_perform(curl); in test()
145 test_setopt(curl, CURLOPT_POSTFIELDS, NULL); in test()
146 test_setopt(curl, CURLOPT_RTSPHEADER, NULL); in test()
156 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
160 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
161 res = curl_easy_perform(curl); in test()
173 curl_easy_cleanup(curl); in test()