/curl/tests/ |
H A D | memanalyze.pl | 115 $function = $3; 117 if($function =~ /free\((\(nil\)|0x([0-9a-f]*))/) { 258 print "Not recognized input line: $function\n"; 266 $function = $3; 268 if($function =~ /socket\(\) = (\d*)/) { 274 elsif($function =~ /socketpair\(\) = (\d*) (\d*)/) { 282 elsif($function =~ /accept\(\) = (\d*)/) { 287 elsif($function =~ /sclose\((\d*)\)/) { 302 $function = $3; 315 elsif($function =~ /fclose\(0x([0-9a-f]*)\)/) { [all …]
|
/curl/lib/ |
H A D | curl_config.h.cmake | 188 /* Define to 1 if you have the alarm function. */ 231 /* Define to 1 if you have the fcntl function. */ 243 /* Define to 1 if you have the fseeko function. */ 427 /* Define to 1 if you have the `pipe' function. */ 451 /* Define to 1 if you have the recv function. */ 454 /* Define to 1 if you have the select function. */ 460 /* Define to 1 if you have the send function. */ 463 /* Define to 1 if you have the sendmsg function. */ 499 /* Define to 1 if you have the signal function. */ 532 /* Define to 1 if you have the strdup function. */ [all …]
|
/curl/docs/libcurl/ |
H A D | curl_global_sslset.md | 31 This function configures at runtime which SSL backend to use with 32 libcurl. This function can only be used to select an SSL backend once, and it 41 If neither *id* nor *name* are specified, the function fails with 49 Upon success, the function returns **CURLSSLSET_OK**. 51 If the specified SSL backend is not available, the function returns 54 function again to try to select a different backend. 59 This function is thread-safe since libcurl 7.84.0 if 129 If this function returns *CURLSSLSET_OK*, the backend was successfully 133 been compiled into libcurl), the function returns 137 has already been called, the function returns *CURLSSLSET_TOO_LATE*. [all …]
|
H A D | curl_strnequal.md | 30 The curl_strnequal(3) function compares the two strings *str1* and *str2*, 34 This function compares no more than the first *length* bytes of *str1* and 37 This function uses plain ASCII based comparisons completely disregarding the 41 This function is provided by libcurl to enable applications to compare strings 43 string comparison functions. This function works on all platforms.
|
H A D | curl_ws_recv.md | 33 This function call is EXPERIMENTAL. 41 function again to continue draining the buffer. 43 If the function call is successful, the *meta* pointer gets set to point to a 46 anymore once another WebSocket function is called. See the curl_ws_meta(3) for 76 Instead of blocking, the function returns **CURLE_AGAIN**. The correct 78 this function again.
|
H A D | curl_easy_option_by_id.md | 30 Given a *CURLoption* **id**, this function returns a pointer to the 33 prefix ones provided in the standard curl/curl.h header file. This function 34 returns the non-alias version of the cases where there is an alias function as 37 If libcurl has no option with the given id, this function returns NULL.
|
H A D | curl_share_cleanup.md | 29 This function deletes a shared object. The share handle cannot be used anymore 30 when this function has been called. 32 Passing in a NULL pointer in *share_handle* makes this function return 35 Any use of the **share_handle** after this function has been called and have
|
H A D | curl_multi_wakeup.md | 29 This function can be called from any thread and it wakes up a sleeping 33 If the function is called when there is no curl_multi_poll(3) call, it 36 Calling this function only guarantees to wake up the current (or the next if 38 that multiple calls to this function wake up the same waiting operation. 40 This function has no effect on curl_multi_wait(3) calls.
|
H A D | curl_strequal.md | 30 The curl_strequal(3) function compares the two strings *str1* and *str2*, 34 This function uses plain ASCII based comparisons completely disregarding the 38 This function is provided by libcurl to enable applications to compare strings 40 string comparison functions. This function works on all platforms.
|
H A D | curl_multi_perform.md | 34 This function performs transfers on all the added handles that need attention 39 or a timeout has elapsed, the application should call this function to 42 function does not require that there actually is any data available for 56 When *running_handles* is set to zero (0) on the return of this function, 59 When this function returns error, the state of all transfers are uncertain and 100 This function returns errors regarding the whole multi stack. Problems on 101 individual transfers may have occurred even when this function returns 109 descriptor has activity or the function times out, the application calls
|
H A D | curl_mime_data_cb.md | 43 from a data read callback function. 47 *readfunc* is a pointer to a data read callback function, with a signature 50 *seekfunc* is a pointer to a seek callback function, with a signature as 51 shown by the above prototype. This function is used when resending data (i.e.: 55 *freefunc* is a pointer to a user resource freeing callback function, with 57 may safely be set to NULL. This function is called upon mime structure 62 The read callback function gets called by libcurl as soon as it needs to 66 of bytes by your function. 68 Your read function must then return the actual number of bytes that it stored 84 The seek function gets called by libcurl to rewind input stream data or to [all …]
|
H A D | curl_multi_cleanup.md | 31 This function is the opposite of curl_multi_init(3). Cleans up and removes a 44 When this function is called, remaining entries in the connection pool held by 48 Passing in a NULL pointer in *multi_handle* makes this function return 51 Any use of the **multi_handle** after this function has been called and have
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_WRITEFUNCTION.md | 32 Pass a pointer to your callback function, which should match the prototype 35 This callback function gets called by libcurl as soon as there is data 40 The data passed to this function is not null-terminated. 42 The callback function is passed as much data as possible in all invokes, but 51 This function may be called with zero bytes data if the transferred file is 57 that amount differs from the amount passed to your callback function, it 59 aborted and the libcurl function used returns *CURLE_WRITE_ERROR*. 64 If the callback function returns CURL_WRITEFUNC_PAUSE it pauses this 68 your callback. The internal default function writes the data to the FILE * 114 /* send all data to this function */ [all …]
|
H A D | CURLOPT_SOCKOPTFUNCTION.md | 45 Pass a pointer to your callback function, which should match the prototype 48 When set, this callback function gets called by libcurl when the socket has 62 CURLOPT_SOCKOPTDATA(3) function. 65 *CURL_SOCKOPT_ERROR* from the callback function to signal an unrecoverable 67 *CURLE_COULDNT_CONNECT*. Alternatively, the callback function can return 71 CURLOPT_OPENSOCKETFUNCTION(3) and then have this function make libcurl 112 /* call this function to get a socket */ 116 /* call this function to set options for the socket */
|
H A D | CURLOPT_OPENSOCKETFUNCTION.md | 46 Pass a pointer to your callback function, which should match the prototype 49 This callback function gets called by libcurl instead of the *socket(2)* 56 CURLOPT_OPENSOCKETDATA(3) function. 60 function should return the newly created socket or *CURL_SOCKET_BAD* in 64 function signals an unrecoverable error to libcurl and it returns 65 *CURLE_COULDNT_CONNECT* from the function that triggered this callback. 113 /* call this function to get a socket */ 117 /* call this function to set options for the socket */
|
H A D | CURLOPT_HEADERFUNCTION.md | 40 Pass a pointer to your callback function, which should match the prototype 43 This callback function gets invoked by libcurl as soon as it has received 54 that amount differs from the amount passed to your callback function, it 56 aborted and the libcurl function used returns *CURLE_WRITE_ERROR*. 60 A complete HTTP header that is passed to this function can be up to 64 CURLOPT_HEADERDATA(3) is set to anything but NULL, the function used to 65 accept response data is used instead. That is the function specified with 67 default, stream-writing function. 77 body are both included as headers and passed to this function. 87 For non-HTTP protocols like FTP, POP3, IMAP and SMTP this function gets called
|
H A D | CURLOPT_INTERLEAVEFUNCTION.md | 33 Pass a pointer to your callback function, which should match the prototype 36 This callback function gets called by libcurl as soon as it has received 37 interleaved RTP data. This function gets called for each $ block and therefore 43 behaves. If unset or set to NULL, curl uses the default write function. 58 that amount differs from the amount passed to your callback function, it 60 and the libcurl function used returns *CURLE_WRITE_ERROR*. 66 NULL, the interleave data is then passed to the regular write function:
|
H A D | CURLOPT_PROGRESSFUNCTION.md | 37 Pass a pointer to your callback function, which should match the prototype 43 This function gets called by libcurl instead of its internal equivalent with a 65 If your callback function returns CURL_PROGRESSFUNC_CONTINUE it causes libcurl 66 to continue executing the default progress function. 71 If you transfer data with the multi interface, this function is not called 72 during periods of idleness unless you call the appropriate libcurl function 75 CURLOPT_NOPROGRESS(3) must be set to 0 to make this function actually
|
H A D | CURLOPT_XFERINFOFUNCTION.md | 36 Pass a pointer to your callback function, which should match the prototype 39 This function gets called by libcurl instead of its internal equivalent with a 64 If your callback function returns CURL_PROGRESSFUNC_CONTINUE it makes libcurl 65 to continue executing the default progress function. 67 If you transfer data with the multi interface, this function is not called 68 during periods of idleness unless you call the appropriate libcurl function 71 CURLOPT_NOPROGRESS(3) must be set to 0 to make this function actually
|
H A D | CURLOPT_CLOSESOCKETFUNCTION.md | 32 Pass a pointer to your callback function, which should match the prototype 35 This callback function gets called by libcurl instead of the *close(3)* or 47 Use the standard socket close function. 72 /* call this function to close sockets */
|
/curl/tests/data/ |
H A D | test1559 | 39 CURLUPART_URL 10000000 bytes URL == 3 (Malformed input to a URL function) 40 CURLUPART_SCHEME 10000000 bytes scheme == 3 (Malformed input to a URL function) 41 CURLUPART_USER 10000000 bytes user == 3 (Malformed input to a URL function)
|
H A D | test723 | 20 IPFS with malformed gateway URL (bad function argument error) 30 # malformed gateway URL (bad function argument error)
|
H A D | test1400 | 86 CURLOPT_WRITEFUNCTION was set to a function pointer 88 CURLOPT_READFUNCTION was set to a function pointer 90 CURLOPT_SEEKFUNCTION was set to a function pointer 93 CURLOPT_DEBUGFUNCTION was set to a function pointer 95 CURLOPT_HEADERFUNCTION was set to a function pointer
|
H A D | test1407 | 77 CURLOPT_WRITEFUNCTION was set to a function pointer 79 CURLOPT_READFUNCTION was set to a function pointer 81 CURLOPT_SEEKFUNCTION was set to a function pointer 84 CURLOPT_DEBUGFUNCTION was set to a function pointer 86 CURLOPT_HEADERFUNCTION was set to a function pointer
|
H A D | test1420 | 82 CURLOPT_WRITEFUNCTION was set to a function pointer 84 CURLOPT_READFUNCTION was set to a function pointer 86 CURLOPT_SEEKFUNCTION was set to a function pointer 89 CURLOPT_DEBUGFUNCTION was set to a function pointer 91 CURLOPT_HEADERFUNCTION was set to a function pointer
|