/curl/tests/libtest/ |
H A D | test1013.pl | 33 my $what=$ARGV[2]; 37 open(CURL, "$ARGV[1]") || die "Can't get curl $what list\n"; 40 $curl_protocols = $_ if ( /$what:/i ); 50 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config $what list\n"; 54 $_ = lc($_) if($what eq "protocols"); # accept uppercase protocols in curl-config 60 if($what eq "features") { 70 print "Mismatch in $what lists:\n";
|
H A D | lib586.c | 44 const char *what; in test_lock() local 52 what = "share"; in test_lock() 55 what = "dns"; in test_lock() 58 what = "cookie"; in test_lock() 61 what = "ssl_session"; in test_lock() 67 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_lock() 74 const char *what; in test_unlock() local 79 what = "share"; in test_unlock() 82 what = "dns"; in test_unlock() 85 what = "cookie"; in test_unlock() [all …]
|
H A D | test1022.pl | 32 my $what=$ARGV[2]; 45 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config --$what list\n"; 49 if ( $what eq "version" ) {
|
H A D | lib506.c | 48 const char *what; in test_lock() local 57 what = "share"; in test_lock() 61 what = "dns"; in test_lock() 65 what = "cookie"; in test_lock() 75 printf("lock: double locked %s\n", what); in test_lock() 80 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in test_lock() 87 const char *what; in test_unlock() local 93 what = "share"; in test_unlock() 97 what = "dns"; in test_unlock() 101 what = "cookie"; in test_unlock() [all …]
|
/curl/lib/ |
H A D | parsedate.c | 214 const char * const *what; in checkday() local 216 what = &weekday[0]; in checkday() 218 what = &Curl_wkday[0]; in checkday() 222 size_t ilen = strlen(what[0]); in checkday() 226 what++; in checkday() 239 if(strncasecompare(check, what[0], 3)) in checkmonth() 241 what++; in checkmonth() 252 const struct tzinfo *what = tz; in checktz() local 257 size_t ilen = strlen(what->name); in checktz() 260 return what->offset*60; in checktz() [all …]
|
H A D | gopher.c | 146 int what; in gopher_do() local 218 what = SOCKET_WRITABLE(sockfd, timeout_ms); in gopher_do() 219 if(what < 0) { in gopher_do() 223 else if(!what) { in gopher_do()
|
/curl/docs/libcurl/opts/ |
H A D | CURLMOPT_SOCKETFUNCTION.md | 18 CURLMOPT_SOCKETFUNCTION - callback informed about what to wait for 27 int what, /* describes the socket */ 58 **what** argument is not CURL_POLL_REMOVE then it holds information about 59 what activity on this socket the application is supposed to 60 monitor. Subsequent calls to this callback might update the **what** bits 71 The **what** parameter informs the callback on the status of the given 105 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) 110 if(what == CURL_POLL_REMOVE) { 113 if(what & CURL_POLL_IN) { 116 if(what & CURL_POLL_OUT) {
|
H A D | CURLMOPT_SOCKETDATA.md | 49 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) 54 if(what == CURL_POLL_REMOVE) { 57 if(what & CURL_POLL_IN) { 60 if(what & CURL_POLL_OUT) {
|
/curl/tests/ |
H A D | servers.pm | 342 my (@what)=@_; 369 return &startservers(@what); 2378 my @what = @_; 2381 for(@what) { 2392 ($what eq "ftp") || 2395 if($run{$what} && 2401 if(!$run{$what}) { 2561 if($runcert{$what} && ($runcert{$what} ne $certfile)) { 2581 if(!$run{$what}) { 2884 elsif($what eq "sftp" || $what eq "scp") { [all …]
|
/curl/tests/data/ |
H A D | test454 | 23 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what=hello --expand-data "--{{what:trim,url}}"
|
H A D | test452 | 23 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what=hello --expand-data "--{{what:trim:super}}"
|
H A D | test453 | 22 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what@%LOGDIR/junk --expand-data "{{what}}"
|
H A D | test456 | 22 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what@%LOGDIR/junk --expand-data "{{what}}"
|
H A D | test451 | 41 … --variable what@%LOGDIR/junk --variable second=hello --variable second=again --expand-data "--{{w…
|
H A D | test554 | 48 # tool is what to use instead of 'curl' 81 this is what we post to the silly web server 86 this is what we post to the silly web server 112 this is what we post to the silly web server 117 this is what we post to the silly web server
|
H A D | test508 | 28 # tool is what to use instead of 'curl' 51 this is what we post to the silly web server
|
H A D | test450 | 41 http://%HOSTIP:%HTTPPORT/%TESTNUMBER --variable what@%LOGDIR/junk --expand-data "{{what:trim:url}}"
|
H A D | test650 | 43 # tool is what to use instead of 'curl' 87 this is what we post to the silly web server 91 uhis is what we post to the silly web serve 171 this is what we post to the silly web server 175 uhis is what we post to the silly web serve
|
H A D | test1550 | 17 # tool is what to use instead of 'curl'
|
/curl/scripts/ |
H A D | checksrc.pl | 325 my ($what, $line, $file, $l) = @_; 328 if(!$ignore_used{$what}) { 330 $line, length($what) + 11, $file, $l, 333 $ignore_set{$what}=0; 334 $ignore_used{$what}=0; 335 $ignore{$what}=0; 340 my ($enable, $what) = ($1, $2); 341 $what =~ s: *\*/$::; # cut off end of C comment 345 if($what =~ /([^ ]*) +(.*)/) { 349 $warn = $what; [all …]
|
/curl/docs/examples/ |
H A D | ghiper.c | 247 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() argument 253 MSG_OUT("socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]); in sock_cb() 254 if(what == CURL_POLL_REMOVE) { in sock_cb() 261 (what & CURL_POLL_IN) ? "READ" : "", in sock_cb() 262 (what & CURL_POLL_OUT) ? "WRITE" : ""); in sock_cb() 263 addsock(s, e, what, g); in sock_cb() 267 "Changing action from %d to %d\n", fdp->action, what); in sock_cb() 268 setsock(fdp, s, e, what, g); in sock_cb()
|
H A D | evhiperfifo.c | 279 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() argument 282 __PRETTY_FUNCTION__, e, s, what, cbp, sockp); in sock_cb() 289 "socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]); in sock_cb() 290 if(what == CURL_POLL_REMOVE) { in sock_cb() 296 fprintf(MSG_OUT, "Adding data: %s\n", whatstr[what]); in sock_cb() 297 addsock(s, e, what, g); in sock_cb() 302 whatstr[fdp->action], whatstr[what]); in sock_cb() 303 setsock(fdp, s, e, what, g); in sock_cb()
|
H A D | hiperfifo.c | 279 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() argument 286 "socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]); in sock_cb() 287 if(what == CURL_POLL_REMOVE) { in sock_cb() 293 fprintf(MSG_OUT, "Adding data: %s\n", whatstr[what]); in sock_cb() 294 addsock(s, e, what, g); in sock_cb() 299 whatstr[fdp->action], whatstr[what]); in sock_cb() 300 setsock(fdp, s, e, what, g); in sock_cb()
|
H A D | ephiperfifo.c | 305 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) in sock_cb() argument 312 "socket callback: s=%d e=%p what=%s ", s, e, whatstr[what]); in sock_cb() 313 if(what == CURL_POLL_REMOVE) { in sock_cb() 319 fprintf(MSG_OUT, "Adding data: %s\n", whatstr[what]); in sock_cb() 320 addsock(s, e, what, g); in sock_cb() 325 whatstr[fdp->action], whatstr[what]); in sock_cb() 326 setsock(fdp, s, e, what, g); in sock_cb()
|
/curl/include/curl/ |
H A D | urlapi.h | 133 CURL_EXTERN CURLUcode curl_url_get(const CURLU *handle, CURLUPart what, 141 CURL_EXTERN CURLUcode curl_url_set(CURLU *handle, CURLUPart what,
|