/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/docs/examples/ |
H A D | pop3-retr.c | 39 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); 40 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); 43 curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com/1");
|
H A D | simplepost.c | 35 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com"); 36 curl_easy_setopt(curl, CURLOPT_POSTFIELDS, postthis); 40 curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(postthis));
|
H A D | persistant.c | 35 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); 36 curl_easy_setopt(curl, CURLOPT_HEADER, 1L); 39 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/"); 50 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/docs/");
|
H A D | smtp-ssl.c | 91 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); 92 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); 96 curl_easy_setopt(curl, CURLOPT_URL, "smtps://mainserver.example.net"); 107 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); 115 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); 124 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM); 131 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); 136 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source); 137 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); 138 curl_easy_setopt(cur [all...] |
H A D | post-callback.c | 76 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/index.cgi"); 79 curl_easy_setopt(curl, CURLOPT_POST, 1L); 82 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); 85 curl_easy_setopt(curl, CURLOPT_READDATA, &pooh); 88 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); 102 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk); 109 curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, pooh.sizeleft); 125 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
|
H A D | simple.c | 32 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com"); 34 curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
|
H A D | usercertinmem.c | 180 rv = curl_easy_setopt(ch,CURLOPT_VERBOSE, 0L); 181 rv = curl_easy_setopt(ch,CURLOPT_HEADER, 0L); 182 rv = curl_easy_setopt(ch,CURLOPT_NOPROGRESS, 1L); 183 rv = curl_easy_setopt(ch,CURLOPT_NOSIGNAL, 1L); 184 rv = curl_easy_setopt(ch,CURLOPT_WRITEFUNCTION, *writefunction); 185 rv = curl_easy_setopt(ch,CURLOPT_WRITEDATA, stdout); 186 rv = curl_easy_setopt(ch,CURLOPT_HEADERFUNCTION, *writefunction); 187 rv = curl_easy_setopt(ch,CURLOPT_WRITEHEADER, stderr); 188 rv = curl_easy_setopt(ch,CURLOPT_SSLCERTTYPE,"PEM"); 193 rv = curl_easy_setopt(c [all...] |
H A D | fileupload.c | 50 curl_easy_setopt(curl, CURLOPT_URL, 54 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); 57 curl_easy_setopt(curl, CURLOPT_READDATA, fd); 60 curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE, 64 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
H A D | sepheaders.c | 48 curl_easy_setopt(curl_handle, CURLOPT_URL, "http://example.com"); 51 curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); 54 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); 69 curl_easy_setopt(curl_handle, CURLOPT_WRITEHEADER, headerfile); 72 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, bodyfile);
|
H A D | url2file.c | 51 curl_easy_setopt(curl_handle, CURLOPT_URL, argv[1]); 54 curl_easy_setopt(curl_handle, CURLOPT_VERBOSE, 1L); 57 curl_easy_setopt(curl_handle, CURLOPT_NOPROGRESS, 1L); 60 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); 68 curl_easy_setopt(curl_handle, CURLOPT_FILE, pagefile);
|
H A D | httpcustomheader.c | 38 curl_easy_setopt(curl, CURLOPT_URL, "localhost"); 39 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); 47 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
|
H A D | smtp-expn.c | 43 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com"); 47 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); 50 curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "EXPN");
|
H A D | ftpget.c | 67 curl_easy_setopt(curl, CURLOPT_URL, 70 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, my_fwrite); 72 curl_easy_setopt(curl, CURLOPT_WRITEDATA, &ftpfile); 75 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
H A D | ftpgetresp.c | 56 curl_easy_setopt(curl, CURLOPT_URL, "ftp://ftp.example.com/"); 57 curl_easy_setopt(curl, CURLOPT_WRITEDATA, ftpfile); 60 curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, write_response); 61 curl_easy_setopt(curl, CURLOPT_WRITEHEADER, respfile);
|
H A D | ftp-wildcard.c | 61 curl_easy_setopt(handle, CURLOPT_WILDCARDMATCH, 1L); 64 curl_easy_setopt(handle, CURLOPT_CHUNK_BGN_FUNCTION, file_is_comming); 67 curl_easy_setopt(handle, CURLOPT_CHUNK_END_FUNCTION, file_is_downloaded); 70 curl_easy_setopt(handle, CURLOPT_WRITEFUNCTION, write_it); 73 curl_easy_setopt(handle, CURLOPT_CHUNK_DATA, &data); 74 curl_easy_setopt(handle, CURLOPT_WRITEDATA, &data); 76 /* curl_easy_setopt(handle, CURLOPT_VERBOSE, 1L); */ 80 curl_easy_setopt(handle, CURLOPT_URL, argv[1]); 82 curl_easy_setopt(handle, CURLOPT_URL, "ftp://example.com/test/*");
|
H A D | http-post.c | 39 curl_easy_setopt(curl, CURLOPT_URL, "http://postit.example.com/moo.cgi"); 41 curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "name=daniel&project=curl");
|
H A D | resolve.c | 40 curl_easy_setopt(curl, CURLOPT_RESOLVE, host); 41 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
|
H A D | smtp-vrfy.c | 46 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com"); 50 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients);
|
H A D | certinfo.c | 42 curl_easy_setopt(curl, CURLOPT_URL, "https://www.example.com/"); 44 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, wrfu); 46 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L); 47 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L); 49 curl_easy_setopt(curl, CURLOPT_VERBOSE, 0L); 50 curl_easy_setopt(curl, CURLOPT_CERTINFO, 1L);
|
H A D | httpput.c | 86 curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback); 89 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L); 92 curl_easy_setopt(curl, CURLOPT_PUT, 1L); 96 curl_easy_setopt(curl, CURLOPT_URL, url); 99 curl_easy_setopt(curl, CURLOPT_READDATA, hd_src); 103 curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE,
|
H A D | imap-append.c | 87 curl_easy_setopt(curl, CURLOPT_USERNAME, "user"); 88 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret"); 93 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/100"); 98 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source); 99 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); 100 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
|
H A D | postinmemory.c | 66 curl_easy_setopt(curl, CURLOPT_URL, "http://www.example.org/"); 69 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteMemoryCallback); 72 curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&chunk); 76 curl_easy_setopt(curl, CURLOPT_USERAGENT, "libcurl-agent/1.0"); 78 curl_easy_setopt(curl, CURLOPT_POSTFIELDS, postthis); 82 curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(postthis));
|
H A D | progressfunc.c | 86 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/"); 88 curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, older_progress); 90 curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, &prog); 97 curl_easy_setopt() will fail in run-time trying to set the new 103 curl_easy_setopt(curl, CURLOPT_XFERINFOFUNCTION, xferinfo); 106 curl_easy_setopt(curl, CURLOPT_XFERINFODATA, &prog); 109 curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);
|
H A D | smtp-mail.c | 90 curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com"); 98 curl_easy_setopt(curl, CURLOPT_MAIL_FROM, FROM); 105 curl_easy_setopt(curl, CURLOPT_MAIL_RCPT, recipients); 110 curl_easy_setopt(curl, CURLOPT_READFUNCTION, payload_source); 111 curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx); 112 curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/tests/libtest/ |
H A D | lib512.c | 42 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); 43 curl_easy_setopt(curl, CURLOPT_HEADER, 1L); 48 code = curl_easy_setopt(curl2, CURLOPT_URL, URL);
|