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

1 2 3 4 5 6 7

  /external/autotest/client/site_tests/platform_OpenSSLActual/
platform_OpenSSLActual.py 13 def curl(self, rest): member in class:platform_OpenSSLActual
14 base = '/usr/bin/curl -sSIo /dev/null'
19 self.curl('https://www.google.com')
20 self.curl('--capath /var/empty https://www.google.com; [ $? != 0 ]')
  /external/curl/docs/examples/
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...]
httpcustomheader.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) {
38 /* Remove a header curl would otherwise add by itself */
44 /* Modify a header curl otherwise adds differently */
48 we're then using a semicolon in the string we pass to curl! */
    [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-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-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...]
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...]
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...]
persistant.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_VERBOSE, 1L);
40 curl_easy_setopt(curl, CURLOPT_HEADER, 1L);
43 curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/")
    [all...]
pop3-dele.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...]
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-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, "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...]
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-stat.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-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...]

Completed in 987 milliseconds

1 2 3 4 5 6 7