Lines Matching refs:curl

47   CURL *curl;  in test()  local
60 curl = curl_easy_init(); in test()
61 if(!curl) { in test()
67 test_setopt(curl, CURLOPT_HEADERDATA, stdout); in test()
68 test_setopt(curl, CURLOPT_WRITEDATA, stdout); in test()
70 test_setopt(curl, CURLOPT_URL, URL); in test()
77 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
93 test_setopt(curl, CURLOPT_READDATA, sdpf); in test()
94 test_setopt(curl, CURLOPT_UPLOAD, 1L); in test()
95 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); in test()
96 test_setopt(curl, CURLOPT_VERBOSE, 1L); in test()
99 res = curl_easy_perform(curl); in test()
103 test_setopt(curl, CURLOPT_UPLOAD, 0L); in test()
113 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
117 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_DESCRIBE); in test()
118 res = curl_easy_perform(curl); in test()
129 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
139 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers); in test()
140 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE); in test()
141 test_setopt(curl, CURLOPT_POSTFIELDS, in test()
144 res = curl_easy_perform(curl); in test()
148 test_setopt(curl, CURLOPT_POSTFIELDS, NULL); in test()
149 test_setopt(curl, CURLOPT_RTSPHEADER, NULL); in test()
159 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); in test()
163 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS); in test()
164 res = curl_easy_perform(curl); in test()
176 curl_easy_cleanup(curl); in test()