Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/curl/curl
/ functions
Functions
6,269 in github.com/curl/curl
⨍
Functions
6,269
◇
Types & classes
3,193
↓ 1,168 callers
Function
curl_mfprintf
lib/mprintf.c:1231
↓ 1,097 callers
Function
curl_easy_setopt
lib/setopt.c:2921
↓ 567 callers
Function
curl_global_cleanup
* curl_global_cleanup() globally cleanups curl, uses the value of * "easy_init_flags" to determine what needs to be cleaned up and what does * not.
lib/easy.c:255
↓ 564 callers
Function
logmsg
tests/server/util.c:55
↓ 489 callers
Function
curl_easy_cleanup
* curl_easy_cleanup() is the external interface to cleaning/freeing the given * easy handle. */
lib/easy.c:838
↓ 387 callers
Function
curl_mprintf
lib/mprintf.c:1221
↓ 380 callers
Function
curl_msnprintf
lib/mprintf.c:1129
↓ 375 callers
Function
curl_easy_perform
* curl_easy_perform() is the external interface that performs a blocking * transfer as previously setup. */
lib/easy.c:818
↓ 341 callers
Function
curl_easy_init
* curl_easy_init() is the external interface to alloc, setup and init an * easy handle that is returned. If anything goes wrong, NULL is returned. *
lib/easy.c:330
↓ 292 callers
Function
curl_global_init
* curl_global_init() globally initializes curl given a bitwise set of the * different features of what to initialize. */
lib/easy.c:197
↓ 223 callers
Function
curlx_dyn_ptr
* Returns a pointer to the buffer. */
lib/curlx/dynbuf.c:237
↓ 207 callers
Function
curlx_dyn_addn
* Appends a buffer with length. */
lib/curlx/dynbuf.c:162
↓ 194 callers
Function
curl_slist_append
* curl_slist_append() appends a string to the linked list. It always returns * the address of the first record, so that you can use this function as
lib/slist.c:85
↓ 182 callers
Function
curl_slist_free_all
be nice and clean up resources */
lib/slist.c:124
↓ 178 callers
Function
curl_easy_strerror
lib/strerror.c:34
↓ 167 callers
Function
curlx_strerror
* Our thread-safe and smart strerror() replacement. * * The 'err' argument passed in to this function MUST be a true errno number * as reported on
lib/curlx/strerr.c:248
↓ 160 callers
Function
curlx_str_number
Get an unsigned decimal number with no leading space or minus. Leading zeroes are accepted. return non-zero on error */
lib/curlx/strparse.c:208
↓ 159 callers
Method
http_download
(self, urls: List[str], alpn_proto: Optional[str] = None, with_sta
tests/http/testenv/curl.py:719
↓ 154 callers
Function
curl_strequal
--- public function --- */
lib/strequal.c:76
↓ 152 callers
Function
Curl_conn_meta_get
lib/url.c:2658
↓ 147 callers
Method
authority_for
(self, domain: str, alpn_proto: Optional[str] = None)
tests/http/testenv/env.py:905
↓ 146 callers
Function
curlx_dyn_len
* Returns the length of the buffer. */
lib/curlx/dynbuf.c:271
↓ 145 callers
Method
check_response
(self, http_status: Optional[int] = 200, count: Optional[int] = 1,
tests/http/testenv/curl.py:404
↓ 144 callers
Function
curl_free
For operating systems/environments that use different malloc/free systems for the app and for this library, we provide a free that uses the libr
lib/escape.c:190
↓ 142 callers
Function
curlx_dyn_free
* free the buffer and re-init the necessary fields. It does not touch the * 'init' field and thus this buffer can be reused to add data to again. */
lib/curlx/dynbuf.c:56
↓ 139 callers
Function
curl_easy_getinfo
lib/easy.c:854
↓ 138 callers
Function
curlx_dyn_init
* Init a dynbuf struct. */
lib/curlx/dynbuf.c:38
↓ 124 callers
Function
Curl_pgrs_now
lib/progress.c:173
↓ 121 callers
Method
dump_logs
(self)
tests/http/testenv/h2o.py:85
↓ 117 callers
Method
check_exit_code
(self, code: Union[int, bool])
tests/http/testenv/curl.py:393
↓ 110 callers
Function
Curl_bufq_is_empty
lib/bufq.c:266
↓ 109 callers
Function
curl_maprintf
lib/mprintf.c:1184
↓ 107 callers
Function
warnf
* Emit warning formatted message on configured 'errors' stream unless * mute (--silent) was selected. */
src/tool_msgs.c:93
↓ 105 callers
Function
curl_strnequal
--- public function --- */
lib/strequal.c:87
↓ 105 callers
Function
global_init
* curl_global_init() globally initializes curl given a bitwise set of the * different features of what to initialize. */
lib/easy.c:124
↓ 98 callers
Function
curl_url_get
lib/urlapi.c:1583
↓ 97 callers
Function
curl_multi_cleanup
lib/multi.c:2979
↓ 95 callers
Function
Curl_llist_head
Curl_llist_head() returns the first 'struct Curl_llist_node *', which might be NULL */
lib/llist.c:203
↓ 94 callers
Function
curl_url_set
lib/urlapi.c:1973
↓ 93 callers
Function
curlx_dyn_addf
* Append a string printf()-style */
lib/curlx/dynbuf.c:220
↓ 87 callers
Method
check_stats
(self, count: int, http_status: Optional[int] = None, exitcode: Optional[Union[int, List[i
tests/http/testenv/curl.py:463
↓ 86 callers
Function
curlx_str_single
Advance over a single character. return non-zero on error */
lib/curlx/strparse.c:138
↓ 84 callers
Function
curlx_dyn_add
* Append a null-terminated string at the end. */
lib/curlx/dynbuf.c:173
↓ 83 callers
Function
curlx_dyn_reset
* Clears the string, keeps the allocation. This can also be called on a * buffer that already was freed. */
lib/curlx/dynbuf.c:125
↓ 82 callers
Function
Curl_setstropt
lib/setopt.c:82
↓ 79 callers
Function
getstr
src/tool_getparam.c:44
↓ 77 callers
Method
curl_uses_lib
(libname: str)
tests/http/testenv/env.py:495
↓ 77 callers
Method
exists
(self)
tests/http/testenv/sshd.py:186
↓ 75 callers
Function
errorf
* Emit error message on error stream if not muted. When errors are not tied * to command line arguments, use helpf() for such errors. */
src/tool_msgs.c:129
↓ 74 callers
Function
curl_multi_remove_handle
lib/multi.c:784
↓ 74 callers
Function
curl_url_cleanup
lib/urlapi.c:1322
↓ 73 callers
Function
Curl_node_elem
Curl_node_elem() returns the custom data from a Curl_llist_node */
lib/llist.c:234
↓ 70 callers
Function
Curl_pp_sendf
* * Curl_pp_sendf() * * Send the formatted string as a command to a pingpong server. Note that * the string should not have any CRLF appended, as
lib/pingpong.c:210
↓ 66 callers
Function
Curl_bufref_ptr
* Get a pointer to the referenced string. */
lib/bufref.c:99
↓ 66 callers
Function
Curl_llist_count
Curl_llist_count() returns a size_t the number of nodes in the list */
lib/llist.c:226
↓ 65 callers
Function
Curl_set_in_callback
'value' used to be a boolean but can now also contain more info */
lib/multi.c:3910
↓ 64 callers
Method
run
(self, args)
tests/http/testenv/client.py:83
↓ 63 callers
Function
Curl_client_write
Curl_client_write() sends data to the write callback(s) The bit pattern defines to what "streams" to write to. Body and/or header. The defines
lib/sendf.c:376
↓ 62 callers
Function
curl_multi_setopt
lib/multi.c:3336
↓ 62 callers
Method
make_data_file
( self, indir: str, fname: str, fsize: int, line_length: int = 1024 )
tests/http/testenv/env.py:908
↓ 59 callers
Function
Curl_node_next
Curl_node_next() returns the next element in a list from a given Curl_llist_node */
lib/llist.c:243
↓ 59 callers
Function
curl_url
*/
lib/urlapi.c:1317
↓ 59 callers
Function
curlx_ptimediff_ms
* Returns: time difference in number of milliseconds. For too large diffs it * returns max value. * * @unittest: 1323 */
lib/curlx/timeval.c:188
↓ 57 callers
Function
Curl_meta_get
lib/easy.c:1399
↓ 57 callers
Function
curlx_now
lib/curlx/timeval.c:175
↓ 57 callers
Method
http_get
(self, url: str, extra_args: Optional[List[str]] = None, alpn_proto: Optional[str] = None,
tests/http/testenv/curl.py:706
↓ 51 callers
Function
Curl_ssl_cf_get_primary_config
lib/vtls/vtls.c:1586
↓ 51 callers
Function
curlx_memdup0
* * curlx_memdup0(source, length) * * Copies the 'source' string to a newly allocated buffer (that is returned). * Copies 'length' bytes then adds
lib/curlx/strdup.c:85
↓ 49 callers
Function
curl_multi_add_handle
lib/multi.c:466
↓ 48 callers
Function
curlx_ultouc
* unsigned long to unsigned char */
lib/curlx/warnless.c:54
↓ 47 callers
Function
Curl_bufq_len
lib/bufq.c:255
↓ 47 callers
Function
Curl_peer_unlink
lib/peer.c:306
↓ 46 callers
Function
curl_mime_addpart
Create a mime part and append it to a mime handle's part list. */
lib/mime.c:1235
↓ 46 callers
Function
multi_perform
lib/multi.c:2887
↓ 45 callers
Function
Curl_bufref_set
* Set the buffer reference to new values. The previously referenced buffer * is released before assignment. */
lib/bufref.c:72
↓ 44 callers
Function
curlx_strcopy
* curlx_strcopy() is a replacement for strcpy. * * Provide the target buffer @dest and size of the target buffer @dsize, If * the source string @sr
lib/curlx/strcopy.c:38
↓ 44 callers
Function
curlx_wait_ms
* Internal function used for waiting a specific amount of ms in * Curl_socket_check() and Curl_poll() when no file descriptor is provided to * wait
lib/curlx/wait.c:58
↓ 43 callers
Function
curlx_str_passblanks
increase the pointer until it has moved over all blanks */
lib/curlx/strparse.c:313
↓ 41 callers
Function
Curl_checkheaders
* checkheaders() checks the linked list of custom headers for a * particular header (prefix). Provide the prefix without colon! * * Returns a point
lib/transfer.c:85
↓ 41 callers
Function
curl_multi_info_read
lib/multi.c:3085
↓ 41 callers
Function
curl_multi_init
lib/multi.c:368
↓ 41 callers
Function
curlx_uztoui
* unsigned size_t to unsigned int */
lib/curlx/warnless.c:110
↓ 41 callers
Method
exists
(self)
tests/http/testenv/client.py:65
↓ 41 callers
Function
myssh_to_ERROR
lib/vssh/libssh.c:373
↓ 40 callers
Function
Curl_multi_mark_dirty
lib/multi.c:4179
↓ 40 callers
Function
curlx_inet_pton
int inet_pton(af, src, dst) * convert from presentation format (which usually means ASCII printable) * to network format (which is usually
lib/curlx/inet_pton.c:205
↓ 40 callers
Function
curlx_str_casecompare
case insensitive compare that the parsed string matches the given string. Returns non-zero on match. */
lib/curlx/strparse.c:252
↓ 39 callers
Function
Curl_bufq_write
lib/bufq.c:367
↓ 39 callers
Function
curl_share_setopt
lib/curl_share.c:191
↓ 38 callers
Function
curl_multi_perform
lib/multi.c:2969
↓ 38 callers
Function
easysrc_addf
src/tool_easysrc.c:104
↓ 35 callers
Function
Curl_bufq_free
lib/bufq.c:235
↓ 35 callers
Function
Curl_hash_pick
Retrieves a hash element. * * @unittest: 1603 */
lib/hash.c:238
↓ 35 callers
Function
getASN1Element
lib/vtls/x509asn1.c:205
↓ 35 callers
Method
info
(self, msg)
tests/http/scorecard.py:277
↓ 34 callers
Function
curl_mime_free
Recursively delete a mime handle and its parts. */
lib/mime.c:1104
↓ 34 callers
Function
curlx_str_until
Get a word until the first DELIM or end of string. At least one byte long. return non-zero on error. If 'max' is zero, it will always return error.
lib/curlx/strparse.c:49
↓ 34 callers
Method
get_proxy_args
(self, proto: str = 'http/1.1', proxys: bool = True, tunnel: bool = False,
tests/http/testenv/curl.py:673
↓ 33 callers
Function
curl_mime_name
Set mime part name. */
lib/mime.c:1260
↓ 32 callers
Function
ossl_strerror
Return error string for last OpenSSL error */
lib/vtls/openssl.c:748
next →
1–100 of 6,269, ranked by callers