/external/curl/tests/libtest/ |
test307.pl | 2 # Determine if the given curl executable supports the 'openssl' SSL engine 5 print "Usage: $0 curl-executable\n"; 8 if (!open(CURL, "@ARGV[0] -s --engine list|")) 13 while( <CURL> ) 17 close CURL;
|
testtrace.h | 14 * are also available at https://curl.haxx.se/docs/copyright.html. 32 int libtest_debug_cb(CURL *handle, curl_infotype type,
|
test1022.pl | 2 # Determine if curl-config --version matches the curl --version 5 print "Usage: $0 curl-config-script curl-version-output-file version|vernum\n"; 11 # Read the output of curl --version 12 open(CURL, "$ARGV[1]") || die "Can't open curl --version list in $ARGV[1]\n"; 13 $_ = <CURL>; 17 close CURL; 21 # Read the output of curl-config --version/--vernu [all...] |
test1013.pl | 2 # Determine if curl-config --protocols/--features matches the 3 # curl --version protocols/features 6 print "Usage: $0 curl-config-script curl-version-output-file features|protocols\n"; 12 # Read the output of curl --version 14 open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n"; 15 while( <CURL> ) 19 close CURL; 23 @curl = split / /,$1 [all...] |
lib512.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 32 CURL *curl; local 33 CURL *curl2; 39 curl = curl_easy_init(); 40 if(curl) { 42 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); 43 curl_easy_setopt(curl, CURLOPT_HEADER, 1L); 45 curl2 = curl_easy_duphandle(curl); 65 curl_easy_cleanup(curl); [all...] |
lib501.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 29 CURL *curl; local 38 if((curl = curl_easy_init()) == NULL) { 44 test_setopt(curl, CURLOPT_HEADER, 1L); 46 res = curl_easy_perform(curl); 50 curl_easy_cleanup(curl);
|
lib544.c | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 42 CURL *curl; local 50 if((curl = curl_easy_init()) == NULL) { 57 test_setopt(curl, CURLOPT_URL, URL); 60 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long) sizeof teststring); 63 test_setopt(curl, CURLOPT_COPYPOSTFIELDS, teststring); 65 test_setopt(curl, CURLOPT_VERBOSE, 1L); /* show verbose for debug */ 66 test_setopt(curl, CURLOPT_HEADER, 1L); /* include header */ 73 CURL *handle2 [all...] |
/external/curl/src/ |
tool_help.h | 14 * are also available at https://curl.haxx.se/docs/copyright.html. 27 void tool_list_engines(CURL *curl);
|
tool_writeout.h | 14 * are also available at https://curl.haxx.se/docs/copyright.html. 26 void ourWriteOut(CURL *curl, struct OutStruct *outs, const char *writeinfo);
|
tool_xattr.h | 14 * are also available at https://curl.haxx.se/docs/copyright.html. 26 int fwrite_xattr(CURL *curl, int fd);
|
tool_writeenv.h | 14 * are also available at https://curl.haxx.se/docs/copyright.html. 28 void ourWriteEnv(CURL *curl);
|
tool_cb_dbg.h | 14 * are also available at https://curl.haxx.se/docs/copyright.html. 30 int tool_debug_cb(CURL *handle, curl_infotype type,
|
tool_operhlp.h | 14 * are also available at https://curl.haxx.se/docs/copyright.html. 34 char *add_file_name_to_url(CURL *curl, char *url, const char *filename);
|
/external/curl/include/curl/ |
easy.h | 14 * are also available at https://curl.haxx.se/docs/copyright.html. 28 CURL_EXTERN CURL *curl_easy_init(void); 29 CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); 30 CURL_EXTERN CURLcode curl_easy_perform(CURL *curl); 31 CURL_EXTERN void curl_easy_cleanup(CURL *curl); 38 * Request internal information from the curl session with this function. The 46 CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...) [all...] |
/external/google-breakpad/src/third_party/curl/ |
easy.h | 14 * are also available at http://curl.haxx.se/docs/copyright.html. 29 CURL_EXTERN CURL *curl_easy_init(void); 30 CURL_EXTERN CURLcode curl_easy_setopt(CURL *curl, CURLoption option, ...); 31 CURL_EXTERN CURLcode curl_easy_perform(CURL *curl); 32 CURL_EXTERN void curl_easy_cleanup(CURL *curl); 39 * Request internal information from the curl session with this function. The 47 CURL_EXTERN CURLcode curl_easy_getinfo(CURL *curl, CURLINFO info, ...) [all...] |
/external/libbrillo/brillo/http/ |
mock_curl_api.h | 16 // This is a mock for CURL interfaces which allows to mock out the CURL's 23 MOCK_METHOD0(EasyInit, CURL*()); 24 MOCK_METHOD1(EasyCleanup, void(CURL*)); 25 MOCK_METHOD3(EasySetOptInt, CURLcode(CURL*, CURLoption, int)); 26 MOCK_METHOD3(EasySetOptStr, CURLcode(CURL*, CURLoption, const std::string&)); 27 MOCK_METHOD3(EasySetOptPtr, CURLcode(CURL*, CURLoption, void*)); 28 MOCK_METHOD3(EasySetOptCallback, CURLcode(CURL*, CURLoption, intptr_t)); 29 MOCK_METHOD3(EasySetOptOffT, CURLcode(CURL*, CURLoption, curl_off_t)); 30 MOCK_METHOD1(EasyPerform, CURLcode(CURL*)); [all...] |
curl_api.h | 8 #include <curl/curl.h> 25 virtual CURL* EasyInit() = 0; 28 virtual void EasyCleanup(CURL* curl) = 0; 31 virtual CURLcode EasySetOptInt(CURL* curl, CURLoption option, int value) = 0; 32 virtual CURLcode EasySetOptStr(CURL* curl, 35 virtual CURLcode EasySetOptPtr(CURL* curl [all...] |
curl_api.cc | 18 "CURL option types are expected to be multiples of 10000"); 35 CURL* CurlApi::EasyInit() { 39 void CurlApi::EasyCleanup(CURL* curl) { 40 curl_easy_cleanup(curl); 43 CURLcode CurlApi::EasySetOptInt(CURL* curl, CURLoption option, int value) { 46 // CURL actually uses "long" type, so have to make sure we feed it what it 49 return curl_easy_setopt(curl, option, static_cast<long>(value)); 52 CURLcode CurlApi::EasySetOptStr(CURL* curl [all...] |
/external/google-breakpad/src/common/linux/ |
libcurl_wrapper.h | 40 #include "third_party/curl/curl.h" 59 // pointers into the CURL library. 64 // curl library 67 // with CURL. 69 CURL *curl_; // Pointer for handle for CURL calls. 71 CURL* (*easy_init_)(void); 78 // Function pointers into CURL library 79 CURLcode (*easy_setopt_)(CURL *, CURLoption, ...) [all...] |
/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...] |
version-check.pl | 13 # are also available at https://curl.haxx.se/docs/copyright.html. 29 # It then scans the given source file to dig up all symbols starting with CURL. 44 if(/(^CURL[^ \n]*) *(.*)/) { 72 if(/\W(CURL[_A-Z0-9v]+)\W/) {
|
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...] |
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...] |
/external/curl/packages/OS400/ |
ccsidcurl.h | 12 * are also available at https://curl.haxx.se/docs/copyright.html. 27 #include "curl.h" 33 CURL_EXTERN char * curl_easy_escape_ccsid(CURL * handle, 37 CURL_EXTERN char * curl_easy_unescape_ccsid(CURL * handle, const char * string, 54 CURL_EXTERN CURLcode curl_easy_getinfo_ccsid(CURL * curl, CURLINFO info, ...); 62 CURL_EXTERN CURLcode curl_easy_setopt_ccsid(CURL * curl, CURLoption tag, ...);
|