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

1 2 3 4 5 6 78 91011>>

  /external/curl/src/
tool_version.h 14 * are also available at https://curl.haxx.se/docs/copyright.html.
24 #include <curl/curlver.h>
26 #define CURL_NAME "curl"
tool_setup.h 14 * are also available at https://curl.haxx.se/docs/copyright.html.
32 * prototypes will be misdeclared and curl tool may not build properly;
33 * therefore we must include curl_setup.h before curl.h when building curl.
39 * curl tool certainly uses libcurl's external interface.
42 #include <curl/curl.h> /* external interface */
54 /* change which select is used for the curl command line tool */
makefile.amiga 2 # $VER: curl Makefile for AmigaOS ...
13 MANPAGE = ../docs/curl.1
22 $(CC) $(CFLAGS) -o curl $(OBJS) $(LIBS) -Wl,-Map,curl.map,--cref
29 $(INSTALL) -c curl /c/curl
  /external/curl/tests/libtest/
lib552.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
86 int my_trace(CURL *handle, curl_infotype type,
132 size_t amount = nmemb * size; /* Total bytes curl wants */
153 static curlioerr ioctl_callback(CURL *handle, int cmd, void *clientp)
170 CURL *curl; local
179 easy_init(curl);
181 test_setopt(curl, CURLOPT_DEBUGFUNCTION, my_trace);
182 test_setopt(curl, CURLOPT_DEBUGDATA, &config);
184 test_setopt(curl, CURLOPT_VERBOSE, 1L)
    [all...]
lib586.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
39 static void my_lock(CURL *handle, curl_lock_data data,
70 static void my_unlock(CURL *handle, curl_lock_data data, void *useptr)
101 CURL *curl; local
104 curl = curl_easy_init();
105 if(!curl) {
110 curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);
111 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
112 curl_easy_setopt(curl, CURLOPT_URL, tdata->url)
136 CURL *curl; local
    [all...]
lib650.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
56 CURL *curl = NULL; local
178 curl = curl_easy_init();
179 if(!curl) {
185 test_setopt(curl, CURLOPT_URL, URL);
188 test_setopt(curl, CURLOPT_HTTPPOST, formpost);
191 test_setopt(curl, CURLOPT_VERBOSE, 1L);
194 test_setopt(curl, CURLOPT_HEADER, 1L);
197 res = curl_easy_perform(curl);
    [all...]
lib582.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
103 * Callback invoked by curl to poll reading / writing of a socket.
105 static int curlSocketCallback(CURL *easy, curl_socket_t s, int action,
128 * Callback invoked by curl to set a timeout.
146 * Check for curl completion.
148 static int checkForCompletion(CURLM *curl, int *success)
154 while((message = curl_multi_info_read(curl, &numMessages)) != NULL) {
163 fprintf(stderr, "Got an unexpected message from curl: %i\n",
200 static void notifyCurl(CURLM *curl, curl_socket_t s, int evBitmask,
204 CURLMcode result = curl_multi_socket_action(curl, s, evBitmask, &numhandles)
228 CURL *curl = NULL; local
    [all...]
lib509.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
108 CURL *curl; local
125 curl = curl_easy_init();
126 if(!curl) {
132 test_setopt(curl, CURLOPT_USERAGENT, "test509"); /* uses strdup() */
135 str = curl_easy_escape(curl, (char *)a, asize); /* uses realloc() */
142 curl_easy_cleanup(curl);
  /external/curl/docs/cmdline-opts/
http1.1.d 8 Tells curl to use HTTP version 1.1.
proto-default.d 6 Tells curl to use \fIprotocol\fP for any URL missing a scheme name.
10 curl --proto-default https ftp.mozilla.org
17 Without this option curl would make a guess based on the host, see --url for
location.d 8 option will make curl redo the request on the new place. If used together with
10 authentication is used, curl only sends its credentials to the initial
11 host. If a redirect takes curl to a different host, it won't be able to
16 When curl follows a redirect and the request is not a plain GET (for example
18 was 301, 302, or 303. If the response code was any other 3xx code, curl will
21 You can tell curl to not change the non-GET request method to GET after a 30x
connect-timeout.d 6 Maximum time in seconds that you allow curl's connection to take. This only
7 limits the connection phase, so if curl connects within the given period it
http1.0.d 9 Tells curl to use HTTP version 1.0 instead of using its internally preferred
http2.d 10 Tells curl to use HTTP version 2.
show-error.d 5 When used with --silent, it makes curl show an error message if it fails.
tlsv1.0.d 6 Forces curl to use TLS version 1.0 when connecting to a remote TLS server.
  /external/curl/lib/
getenv.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
25 #include <curl/curl.h>
share.h 14 * are also available at https://curl.haxx.se/docs/copyright.html.
26 #include <curl/curl.h>
wildcard.h 14 * are also available at https://curl.haxx.se/docs/copyright.html.
25 #include <curl/curl.h>
  /external/ltp/testcases/network/stress/http/
http-stress02-rmt 27 tst_check_cmds awk curl
59 curl --noproxy '*' -s -g "http://$server_ipaddr/$filename" \
63 killall -qw -s SIGPIPE curl
65 out=$(curl --noproxy '*' -sS -g "http://$server_ipaddr/$filename" -o /dev/null \
  /external/libbrillo/brillo/http/
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/autotest/site_utils/rpm_control_system/
dli.py 46 curl = pycurl.Curl()
47 curl.setopt(curl.TIMEOUT,TIMEOUT)
48 curl.setopt(curl.URL, 'http://%s:%s@%s/%s' % (self.userid,self.password,self.hostname,url))
49 curl.setopt(curl.WRITEFUNCTION, self.body_callback)
51 curl.perform()
52 curl.close(
    [all...]
  /external/curl/docs/examples/
threaded-shared-conn.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
38 #include <curl/curl.h>
62 static void lock_cb(CURL *handle, curl_lock_data data,
72 static void unlock_cb(CURL *handle, curl_lock_data data,
103 CURL *curl = curl_easy_init(); local
104 curl_easy_setopt(curl, CURLOPT_URL, u->url);
105 curl_easy_setopt(curl, CURLOPT_VERBOSE, 0L);
106 curl_easy_setopt(curl, CURLOPT_SHARE, u->share)
    [all...]
synctime.c 12 * are also available at https://curl.haxx.se/docs/copyright.html.
29 * You can achieve the same result as synctime using curl, awk and date.
33 * # date -s "`curl -sI http://nist.time.gov/timezone.cgi?UTC/s/0 \
37 * $ curl -sI http://nist.time.gov/timezone.cgi?UTC/s/0 \
93 #include <curl/curl.h>
184 void SyncTime_CURL_Init(CURL *curl, char *proxy_port,
188 curl_easy_setopt(curl, CURLOPT_PROXY, proxy_port);
191 curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, proxy_user_password)
254 CURL *curl; local
    [all...]
  /external/ltp/testcases/network/stress/ftp/
ftp-download-stress02-rmt 57 curl --noproxy '*' -s -g "ftp://${server_ipaddr}/${filename}" \
61 killall -qw -s SIGPIPE curl
64 out=$(curl --noproxy '*' -sS -g "ftp://$server_ipaddr/$filename" -o /dev/null \

Completed in 563 milliseconds

1 2 3 4 5 6 78 91011>>