Lines Matching defs:curl
12 * are also available at http://curl.haxx.se/docs/copyright.html.
24 #include <curl/mprintf.h>
40 CURL *curl;
59 if ((curl = curl_easy_init()) == NULL) {
66 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
67 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
68 test_setopt(curl, CURLOPT_VERBOSE, 1L);
70 test_setopt(curl, CURLOPT_URL, URL);
72 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
73 res = curl_easy_perform(curl);
87 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
91 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
92 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Fake/NotReal/JustATest;foo=baz");
93 res = curl_easy_perform(curl);
97 curl_easy_getinfo(curl, CURLINFO_RTSP_SESSION_ID, &rtsp_session_id);
105 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
109 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_TEARDOWN);
110 res = curl_easy_perform(curl);
113 test_setopt(curl, CURLOPT_RTSP_SESSION_ID, NULL);
124 curl_easy_cleanup(curl);