HomeSort by relevance Sort by last modified time
    Searched refs:curl (Results 1 - 25 of 585) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/curl/docs/examples/
simple.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
27 #include <curl/curl.h>
31 CURL *curl; local
34 curl = curl_easy_init();
35 if(curl) {
36 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
38 curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
41 res = curl_easy_perform(curl);
    [all...]
imap-copy.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/INBOX")
    [all...]
imap-create.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com")
    [all...]
imap-delete.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com")
    [all...]
imap-examine.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com")
    [all...]
imap-lsub.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com")
    [all...]
imap-noop.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com")
    [all...]
imap-search.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/INBOX")
    [all...]
pop3-top.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com")
    [all...]
pop3-uidl.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com")
    [all...]
https.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
27 #include <curl/curl.h>
31 CURL *curl; local
36 curl = curl_easy_init();
37 if(curl) {
38 curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
51 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
61 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L)
    [all...]
imap-fetch.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL
    [all...]
imap-list.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
51 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com")
    [all...]
pop3-list.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com")
    [all...]
pop3-retr.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com/1")
    [all...]
simplepost.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
28 #include <curl/curl.h>
32 CURL *curl; local
37 curl = curl_easy_init();
38 if(curl) {
39 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
40 curl_easy_setopt(curl, CURLOPT_POSTFIELDS, postthis);
44 curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(postthis))
    [all...]
imap-ssl.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
40 CURL *curl; local
43 curl = curl_easy_init();
44 if(curl) {
46 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
47 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
51 curl_easy_setopt(curl, CURLOPT_URL
    [all...]
imap-store.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
39 CURL *curl; local
42 curl = curl_easy_init();
43 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
46 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
49 curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com/INBOX")
    [all...]
imap-tls.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
40 CURL *curl; local
43 curl = curl_easy_init();
44 if(curl) {
46 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
47 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
50 curl_easy_setopt(curl, CURLOPT_URL
    [all...]
pop3-ssl.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
40 CURL *curl; local
43 curl = curl_easy_init();
44 if(curl) {
46 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
47 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
51 curl_easy_setopt(curl, CURLOPT_URL, "pop3s://pop.example.com/1")
    [all...]
pop3-tls.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 #include <curl/curl.h>
40 CURL *curl; local
43 curl = curl_easy_init();
44 if(curl) {
46 curl_easy_setopt(curl, CURLOPT_USERNAME, "user");
47 curl_easy_setopt(curl, CURLOPT_PASSWORD, "secret");
50 curl_easy_setopt(curl, CURLOPT_URL, "pop3://pop.example.com/1")
    [all...]
getinfo.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
27 #include <curl/curl.h>
31 CURL *curl; local
34 curl = curl_easy_init();
35 if(curl) {
36 curl_easy_setopt(curl, CURLOPT_URL, "http://www.example.com/");
37 res = curl_easy_perform(curl);
42 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_TYPE, &ct)
    [all...]
http-post.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
27 #include <curl/curl.h>
31 CURL *curl; local
37 /* get a curl handle */
38 curl = curl_easy_init();
39 if(curl) {
43 curl_easy_setopt(curl, CURLOPT_URL, "http://postit.example.com/moo.cgi");
45 curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "name=daniel&project=curl")
    [all...]
resolve.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
28 #include <curl/curl.h>
32 CURL *curl; local
43 curl = curl_easy_init();
44 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_RESOLVE, host);
46 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com");
47 res = curl_easy_perform(curl);
    [all...]
  /external/curl/tests/libtest/
lib1551.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
26 #include <curl/multi.h>
30 CURL *curl; local
34 curl = curl_easy_init();
35 if(curl) {
36 curl_easy_setopt(curl, CURLOPT_URL, URL);
37 curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
38 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
39 res = curl_easy_perform(curl);
    [all...]

Completed in 771 milliseconds

1 2 3 4 5 6 7 8 91011>>