Searched refs:test_setopt (Results 1 - 25 of 42) sorted by relevance

12

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/curl-7.23.1/tests/libtest/
H A Dlib514.c43 test_setopt(curl, CURLOPT_URL, URL);
54 test_setopt(curl, CURLOPT_POSTFIELDS, "moo");
55 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 3L);
56 test_setopt(curl, CURLOPT_POST, 1L);
61 test_setopt(curl, CURLOPT_NOBODY, 1L);
63 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */
64 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */
H A Dlib515.c43 test_setopt(curl, CURLOPT_URL, URL);
44 test_setopt(curl, CURLOPT_POSTFIELDS, NULL);
45 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 0L);
46 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */
47 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */
H A Dlib519.c42 test_setopt(curl, CURLOPT_URL, URL);
43 test_setopt(curl, CURLOPT_USERPWD, "monster:underbed");
44 test_setopt(curl, CURLOPT_HEADER, 1L);
45 test_setopt(curl, CURLOPT_VERBOSE, 1L);
50 test_setopt(curl, CURLOPT_USERPWD, "anothermonster:inwardrobe");
H A Dlib523.c42 test_setopt(curl, CURLOPT_PROXY, libtest_arg2);
43 test_setopt(curl, CURLOPT_URL, URL);
44 test_setopt(curl, CURLOPT_PORT, 19999L);
45 test_setopt(curl, CURLOPT_USERPWD, "xxx:yyy");
46 test_setopt(curl, CURLOPT_VERBOSE, 1L);
H A Dlib544.c54 test_setopt(curl, CURLOPT_URL, URL);
57 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long) sizeof teststring - 1);
60 test_setopt(curl, CURLOPT_COPYPOSTFIELDS, teststring);
62 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */
63 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */
H A Dlib549.c47 test_setopt(curl, CURLOPT_PROXY, libtest_arg2);
48 test_setopt(curl, CURLOPT_URL, URL);
49 test_setopt(curl, CURLOPT_PROXY_TRANSFER_MODE, 1L);
50 test_setopt(curl, CURLOPT_VERBOSE, 1L);
53 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
H A Dlib590.c55 test_setopt(curl, CURLOPT_URL, URL);
56 test_setopt(curl, CURLOPT_HEADER, 1L);
57 test_setopt(curl, CURLOPT_PROXYAUTH,
59 test_setopt(curl, CURLOPT_PROXY, libtest_arg2); /* set in first.c */
60 test_setopt(curl, CURLOPT_PROXYUSERPWD, "me:password");
H A Dlib513.c52 test_setopt(curl, CURLOPT_URL, URL);
55 test_setopt(curl, CURLOPT_POST, 1L);
58 test_setopt(curl, CURLOPT_POSTFIELDSIZE, 1L);
61 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
64 test_setopt(curl, CURLOPT_INFILE, NULL);
67 test_setopt(curl, CURLOPT_VERBOSE, 1L);
70 test_setopt(curl, CURLOPT_HEADER, 1L);
H A Dlib567.c47 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
48 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
50 test_setopt(curl, CURLOPT_URL, URL);
51 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, URL);
52 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_OPTIONS);
53 test_setopt(curl, CURLOPT_USERAGENT, "test567");
56 test_setopt(curl, CURLOPT_RTSPHEADER, custom_headers);
H A Dlib510.c86 test_setopt(curl, CURLOPT_URL, URL);
89 test_setopt(curl, CURLOPT_POST, 1L);
93 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
97 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
100 test_setopt(curl, CURLOPT_INFILE, &pooh);
103 test_setopt(curl, CURLOPT_VERBOSE, 1L);
106 test_setopt(curl, CURLOPT_HEADER, 1L);
109 test_setopt(curl, CURLOPT_HTTPHEADER, slist);
112 test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);
113 test_setopt(cur
[all...]
H A Dlib547.c99 test_setopt(curl, CURLOPT_URL, URL);
100 test_setopt(curl, CURLOPT_VERBOSE, 1L);
101 test_setopt(curl, CURLOPT_HEADER, 1L);
104 test_setopt(curl, CURLOPT_POSTFIELDS, UPLOADTHIS);
107 test_setopt(curl, CURLOPT_IOCTLFUNCTION, ioctlcallback);
108 test_setopt(curl, CURLOPT_IOCTLDATA, &counter);
109 test_setopt(curl, CURLOPT_READFUNCTION, readcallback);
110 test_setopt(curl, CURLOPT_READDATA, &counter);
112 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(UPLOADTHIS));
114 test_setopt(cur
[all...]
H A Dlib520.c42 test_setopt(curl, CURLOPT_URL, URL);
43 test_setopt(curl, CURLOPT_FILETIME, 1L);
44 test_setopt(curl, CURLOPT_VERBOSE, 1L);
H A Dlib524.c42 test_setopt(curl, CURLOPT_URL, URL);
43 test_setopt(curl, CURLOPT_UPLOAD, 1L);
44 test_setopt(curl, CURLOPT_VERBOSE, 1L);
H A Dlib570.c52 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);
75 test_setopt(curl, CURLOPT_RTSP_CLIENT_CSEQ, 999);
76 test_setopt(curl, CURLOPT_RTSP_TRANSPORT,
78 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
84 test_setopt(cur
[all...]
H A Dlib579.c115 test_setopt(curl, CURLOPT_URL, URL);
118 test_setopt(curl, CURLOPT_POST, 1L);
122 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
126 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
129 test_setopt(curl, CURLOPT_INFILE, &pooh);
132 test_setopt(curl, CURLOPT_VERBOSE, 1L);
135 test_setopt(curl, CURLOPT_HEADER, 1L);
138 test_setopt(curl, CURLOPT_HTTPHEADER, slist);
140 test_setopt(curl, CURLOPT_HTTPAUTH, CURLAUTH_DIGEST);
141 test_setopt(cur
[all...]
H A Dlib511.c42 test_setopt(curl, CURLOPT_URL, URL);
43 test_setopt(curl, CURLOPT_FILETIME, 1L);
44 test_setopt(curl, CURLOPT_NOBODY, 1L);
45 test_setopt(curl, CURLOPT_VERBOSE, 1L);
H A Dlib516.c43 test_setopt(curl, CURLOPT_URL, URL);
44 test_setopt(curl, CURLOPT_HTTPPOST, NULL);
45 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */
46 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */
H A Dlib521.c42 test_setopt(curl, CURLOPT_URL, URL);
43 test_setopt(curl, CURLOPT_PORT, strtol(libtest_arg2, NULL, 10));
44 test_setopt(curl, CURLOPT_USERPWD, "xxx:yyy");
45 test_setopt(curl, CURLOPT_VERBOSE, 1L);
H A Dlib542.c52 test_setopt(curl, CURLOPT_VERBOSE, 1L);
55 test_setopt(curl, CURLOPT_NOBODY, 1L);
58 test_setopt(curl, CURLOPT_HEADER, 0L);
61 test_setopt(curl,CURLOPT_URL, URL);
H A Dlib578.c66 test_setopt(curl, CURLOPT_URL, URL);
69 test_setopt(curl, CURLOPT_POST, 1L);
73 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
77 test_setopt(curl, CURLOPT_POSTFIELDSIZE, data_size);
78 test_setopt(curl, CURLOPT_POSTFIELDS, data);
81 test_setopt(curl, CURLOPT_NOPROGRESS, 0L);
82 test_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback);
87 test_setopt(curl, CURLOPT_VERBOSE, 1L);
90 test_setopt(curl, CURLOPT_HEADER, 1L);
H A Dlib569.c66 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);
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");
105 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
109 test_setopt(cur
[all...]
H A Dlib508.c72 test_setopt(curl, CURLOPT_URL, URL);
75 test_setopt(curl, CURLOPT_POST, 1L);
79 test_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
83 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)pooh.sizeleft);
86 test_setopt(curl, CURLOPT_READFUNCTION, read_callback);
89 test_setopt(curl, CURLOPT_INFILE, &pooh);
92 test_setopt(curl, CURLOPT_VERBOSE, 1L);
95 test_setopt(curl, CURLOPT_HEADER, 1L);
H A Dlib572.c67 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
68 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
69 test_setopt(curl, CURLOPT_VERBOSE, 1L);
71 test_setopt(curl, CURLOPT_URL, URL);
78 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
82 test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles");
83 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
92 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
107 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_GET_PARAMETER);
109 test_setopt(cur
[all...]
H A Dlib568.c66 test_setopt(curl, CURLOPT_HEADERDATA, stdout);
67 test_setopt(curl, CURLOPT_WRITEDATA, stdout);
69 test_setopt(curl, CURLOPT_URL, URL);
75 test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
89 test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_ANNOUNCE);
91 test_setopt(curl, CURLOPT_READDATA, sdpf);
92 test_setopt(curl, CURLOPT_UPLOAD, 1L);
93 test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size);
100 test_setopt(curl, CURLOPT_UPLOAD, 0L);
109 test_setopt(cur
[all...]
H A Dlib562.c56 test_setopt(curl, CURLOPT_VERBOSE, 1L);
59 test_setopt(curl, CURLOPT_PORT, strtol(libtest_arg2, NULL, 10));
62 test_setopt(curl,CURLOPT_URL, URL);

Completed in 112 milliseconds

12