Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
24 #include <curl/mprintf.h>
37 CURL *curl;
46 if ((curl = curl_easy_init()) == NULL) {
52 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
53 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
54 test_setopt(curl, CURLOPT_VERBOSE, 1L);
56 test_setopt(curl, CURLOPT_URL, URL);
58 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS);
64 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
68 res = curl_easy_perform(curl);
75 test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999L);
76 test_setopt(curl, CURLOPT_RTSP_TRANSPORT,
78 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
84 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
88 res = curl_easy_perform(curl);
92 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_PLAY);
98 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
102 res = curl_easy_perform(curl);
112 curl_easy_cleanup(curl);