Searched refs:curl_easy_setopt (Results 51 - 75 of 109) sorted by relevance

12345

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/docs/examples/
H A Danyauthput.c140 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback);
143 curl_easy_setopt(curl, CURLOPT_READDATA, (void*)hd);
146 curl_easy_setopt(curl, CURLOPT_IOCTLFUNCTION, my_ioctl);
149 curl_easy_setopt(curl, CURLOPT_IOCTLDATA, (void*)hd);
152 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L) ;
156 curl_easy_setopt(curl,CURLOPT_URL, url);
160 curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE,
166 curl_easy_setopt(curl, CURLOPT_HTTPAUTH, (long)CURLAUTH_ANY);
169 curl_easy_setopt(curl, CURLOPT_USERPWD, "user:password");
H A Dftpgetinfo.c54 curl_easy_setopt(curl, CURLOPT_URL, ftpurl);
56 curl_easy_setopt(curl, CURLOPT_NOBODY, 1L);
58 curl_easy_setopt(curl, CURLOPT_FILETIME, 1L);
60 curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, throw_away);
61 curl_easy_setopt(curl, CURLOPT_HEADER, 0L);
63 /* curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); */
H A Dftpsget.c71 curl_easy_setopt(curl, CURLOPT_URL,
74 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, my_fwrite);
76 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile);
79 curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL);
82 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
H A Dsessioninfo.c88 curl_easy_setopt(curl, CURLOPT_URL, "https://www.example.com/");
90 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, wrfu);
92 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
93 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
95 curl_easy_setopt(curl, CURLOPT_VERBOSE, 0L);
H A Dsftpget.c72 curl_easy_setopt(curl, CURLOPT_URL,
75 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, my_fwrite);
77 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile);
83 curl_easy_setopt(curl, CURLOPT_SSH_AUTH_TYPES, CURLSSH_AUTH_AGENT);
87 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
H A Dpostit2.c81 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/examplepost.cgi");
84 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
85 curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
H A Dcookie_interface.c69 curl_easy_setopt(curl, CURLOPT_URL, "http://www.example.com/");
70 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
71 curl_easy_setopt(curl, CURLOPT_COOKIEFILE, ""); /* just to start the cookie engine */
81 curl_easy_setopt(curl, CURLOPT_COOKIELIST, "ALL");
93 res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
95 fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
103 res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
105 fprintf(stderr, "Curl curl_easy_setopt failed: %s\n", curl_easy_strerror(res));
H A Dftpupload.c102 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback);
105 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
108 curl_easy_setopt(curl,CURLOPT_URL, REMOTE_URL);
111 curl_easy_setopt(curl, CURLOPT_POSTQUOTE, headerlist);
114 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src);
120 curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE,
H A Dgetinmemory.c75 curl_easy_setopt(curl_handle, CURLOPT_URL, "http://www.example.com/");
78 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, WriteMemoryCallback);
81 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk);
85 curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, "libcurl-agent/1.0");
H A Dhref_extractor.c74 curl_easy_setopt(curl, CURLOPT_URL, argv[1]);
75 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_callback);
76 curl_easy_setopt(curl, CURLOPT_WRITEDATA, hsp);
77 curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
H A Dsampleconv.c91 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
94 curl_easy_setopt(curl, CURLOPT_CONV_FROM_NETWORK_FUNCTION,
96 curl_easy_setopt(curl, CURLOPT_CONV_TO_NETWORK_FUNCTION,
98 curl_easy_setopt(curl, CURLOPT_CONV_FROM_UTF8_FUNCTION,
H A Dcurlgtk.c54 curl_easy_setopt(curl, CURLOPT_URL, url);
55 curl_easy_setopt(curl, CURLOPT_WRITEDATA, outfile);
56 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, my_write_func);
57 curl_easy_setopt(curl, CURLOPT_READFUNCTION, my_read_func);
58 curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);
59 curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, my_progress_func);
60 curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, Bar);
H A Dexternalsocket.c106 curl_easy_setopt(curl, CURLOPT_URL, "http://99.99.99.99:9999");
129 curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1L);
132 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_data);
135 curl_easy_setopt(curl, CURLOPT_OPENSOCKETFUNCTION, opensocket);
136 curl_easy_setopt(curl, CURLOPT_OPENSOCKETDATA, &sockfd);
139 curl_easy_setopt(curl, CURLOPT_SOCKOPTFUNCTION, sockopt_callback);
141 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
H A Dhtmltidy.c88 curl_easy_setopt(curl, CURLOPT_URL, argv[1]);
89 curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, curl_errbuf);
90 curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);
91 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
92 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_cb);
100 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &docbuf);
H A Dsmtp-multi.c118 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com");
126 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM);
133 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients);
138 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source);
139 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx);
140 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
H A Dgetinfo.c33 /* http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTURL */
34 curl_easy_setopt(curl, CURLOPT_URL, "http://www.example.com/");
H A Dmulti-post.c73 curl_easy_setopt(curl, CURLOPT_URL, "http://www.example.com/upload.cgi");
74 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
76 curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
77 curl_easy_setopt(curl, CURLOPT_HTTPPOST, formpost);
H A D10-at-a-time.c103 curl_easy_setopt(eh, CURLOPT_WRITEFUNCTION, cb);
104 curl_easy_setopt(eh, CURLOPT_HEADER, 0L);
105 curl_easy_setopt(eh, CURLOPT_URL, urls[i]);
106 curl_easy_setopt(eh, CURLOPT_PRIVATE, urls[i]);
107 curl_easy_setopt(eh, CURLOPT_VERBOSE, 0L);
H A Ddebug.c127 curl_easy_setopt(curl, CURLOPT_DEBUGFUNCTION, my_trace);
128 curl_easy_setopt(curl, CURLOPT_DEBUGDATA, &config);
131 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
134 curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
136 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/");
H A Dimap-multi.c69 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
70 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
73 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/INBOX/;UID=1");
H A Dmulti-app.c58 curl_easy_setopt(handles[HTTP_HANDLE], CURLOPT_URL, "http://example.com");
60 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_URL, "ftp://example.com");
61 curl_easy_setopt(handles[FTP_HANDLE], CURLOPT_UPLOAD, 1L);
H A Dpop3-multi.c69 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
70 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
73 curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com/1");
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/libtest/
H A Dlib1507.c84 curl_easy_setopt(curl, CURLOPT_URL, URL);
86 curl_easy_setopt(curl, CURLOPT_USERNAME, USERNAME);
87 curl_easy_setopt(curl, CURLOPT_PASSWORD, PASSWORD);
89 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
90 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback);
91 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, MAILFROM);
92 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, rcpt_list);
93 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/src/
H A Dtool_setopt.h122 SETOPT_CHECK(curl_easy_setopt(x, y, z))
125 SETOPT_CHECK(curl_easy_setopt(x, y, z))
128 SETOPT_CHECK(curl_easy_setopt(x, y, z))
131 SETOPT_CHECK(curl_easy_setopt(x, y, z))
134 SETOPT_CHECK(curl_easy_setopt(x, y, z))
137 SETOPT_CHECK(curl_easy_setopt(x, y, z))
140 SETOPT_CHECK(curl_easy_setopt(x, y, z))
142 #define res_setopt(x,y,z) curl_easy_setopt(x,y,z)
144 #define res_setopt_str(x,y,z) curl_easy_setopt(x,y,z)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dweb.c165 curl_easy_setopt( e, CURLOPT_AUTOREFERER, 1L );
166 curl_easy_setopt( e, CURLOPT_COOKIEFILE, web->cookie_filename );
167 curl_easy_setopt( e, CURLOPT_ENCODING, "gzip;q=1.0, deflate, identity" );
168 curl_easy_setopt( e, CURLOPT_FOLLOWLOCATION, 1L );
169 curl_easy_setopt( e, CURLOPT_MAXREDIRS, -1L );
170 curl_easy_setopt( e, CURLOPT_NOSIGNAL, 1L );
171 curl_easy_setopt( e, CURLOPT_PRIVATE, task );
173 curl_easy_setopt( e, CURLOPT_SOCKOPTFUNCTION, sockoptfunction );
174 curl_easy_setopt( e, CURLOPT_SOCKOPTDATA, task );
177 curl_easy_setopt(
[all...]

Completed in 139 milliseconds

12345