/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 = lc($_) if ( /$what:/i ); 54 open(CURLCONFIG, "sh $ARGV[0] --$what|") || die "Can't get curl-config $what list\n"; 70 print "Mismatch in $what lists:\n";
|
H A D | lib586.c | 44 const char *what; in my_lock() local 52 what = "share"; in my_lock() 55 what = "dns"; in my_lock() 58 what = "cookie"; in my_lock() 61 what = "ssl_session"; in my_lock() 67 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in my_lock() 74 const char *what; in my_unlock() local 79 what = "share"; in my_unlock() 82 what = "dns"; in my_unlock() 85 what = "cookie"; in my_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 my_lock() local 57 what = "share"; in my_lock() 61 what = "dns"; in my_lock() 65 what = "cookie"; in my_lock() 75 printf("lock: double locked %s\n", what); in my_lock() 80 printf("lock: %-6s [%s]: %d\n", what, user->text, user->counter); in my_lock() 87 const char *what; in my_unlock() local 93 what = "share"; in my_unlock() 97 what = "dns"; in my_unlock() 101 what = "cookie"; in my_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 | 17 CURLMOPT_SOCKETFUNCTION - callback informed about what to wait for 26 int what, /* describes the socket */ 54 **what** argument is not CURL_POLL_REMOVE then it holds information about 55 what activity on this socket the application is supposed to 56 monitor. Subsequent calls to this callback might update the **what** bits 67 The **what** parameter informs the callback on the status of the given 99 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) 104 if(what == CURL_POLL_REMOVE) { 107 if(what & CURL_POLL_IN) { 110 if(what & CURL_POLL_OUT) {
|
H A D | CURLMOPT_SOCKETDATA.md | 46 static int sock_cb(CURL *e, curl_socket_t s, int what, void *cbp, void *sockp) 51 if(what == CURL_POLL_REMOVE) { 54 if(what & CURL_POLL_IN) { 57 if(what & CURL_POLL_OUT) {
|
/curl/tests/ |
H A D | servers.pm | 323 my (@what)=@_; 326 my $srvrline = $what[$i]; 350 return &startservers(@what); 2324 my @what = @_; 2327 for(@what) { 2338 ($what eq "ftp") || 2347 if(!$run{$what}) { 2529 if($runcert{$what} && ($runcert{$what} ne $certfile)) { 2549 if(!$run{$what}) { 2755 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 | test508 | 28 # tool is what to use instead of 'curl' 46 s/^(this is what we post to the silly web server)\r\n/$1\n/ if($has_charconv) 55 this is what we post to the silly web server
|
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 | 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 | 309 my ($what, $line, $file, $l) = @_; 312 if(!$ignore_used{$what}) { 314 $line, length($what) + 11, $file, $l, 317 $ignore_set{$what}=0; 318 $ignore_used{$what}=0; 319 $ignore{$what}=0; 324 my ($enable, $what) = ($1, $2); 325 $what =~ s: *\*/$::; # cut off end of C comment 329 if($what =~ /([^ ]*) +(.*)/) { 333 $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 | 132 CURL_EXTERN CURLUcode curl_url_get(const CURLU *handle, CURLUPart what, 140 CURL_EXTERN CURLUcode curl_url_set(CURLU *handle, CURLUPart what,
|