MCPcopy Create free account

hub / github.com/curl/curl / functions

Functions6,269 in github.com/curl/curl

↓ 1,168 callersFunctioncurl_mfprintf
lib/mprintf.c:1231
↓ 1,097 callersFunctioncurl_easy_setopt
lib/setopt.c:2921
↓ 567 callersFunctioncurl_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 callersFunctionlogmsg
tests/server/util.c:55
↓ 489 callersFunctioncurl_easy_cleanup
* curl_easy_cleanup() is the external interface to cleaning/freeing the given * easy handle. */
lib/easy.c:838
↓ 387 callersFunctioncurl_mprintf
lib/mprintf.c:1221
↓ 380 callersFunctioncurl_msnprintf
lib/mprintf.c:1129
↓ 375 callersFunctioncurl_easy_perform
* curl_easy_perform() is the external interface that performs a blocking * transfer as previously setup. */
lib/easy.c:818
↓ 341 callersFunctioncurl_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 callersFunctioncurl_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 callersFunctioncurlx_dyn_ptr
* Returns a pointer to the buffer. */
lib/curlx/dynbuf.c:237
↓ 207 callersFunctioncurlx_dyn_addn
* Appends a buffer with length. */
lib/curlx/dynbuf.c:162
↓ 194 callersFunctioncurl_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 callersFunctioncurl_slist_free_all
be nice and clean up resources */
lib/slist.c:124
↓ 178 callersFunctioncurl_easy_strerror
lib/strerror.c:34
↓ 167 callersFunctioncurlx_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 callersFunctioncurlx_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 callersMethodhttp_download
(self, urls: List[str], alpn_proto: Optional[str] = None, with_sta
tests/http/testenv/curl.py:719
↓ 154 callersFunctioncurl_strequal
--- public function --- */
lib/strequal.c:76
↓ 152 callersFunctionCurl_conn_meta_get
lib/url.c:2658
↓ 147 callersMethodauthority_for
(self, domain: str, alpn_proto: Optional[str] = None)
tests/http/testenv/env.py:905
↓ 146 callersFunctioncurlx_dyn_len
* Returns the length of the buffer. */
lib/curlx/dynbuf.c:271
↓ 145 callersMethodcheck_response
(self, http_status: Optional[int] = 200, count: Optional[int] = 1,
tests/http/testenv/curl.py:404
↓ 144 callersFunctioncurl_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 callersFunctioncurlx_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 callersFunctioncurl_easy_getinfo
lib/easy.c:854
↓ 138 callersFunctioncurlx_dyn_init
* Init a dynbuf struct. */
lib/curlx/dynbuf.c:38
↓ 124 callersFunctionCurl_pgrs_now
lib/progress.c:173
↓ 121 callersMethoddump_logs
(self)
tests/http/testenv/h2o.py:85
↓ 117 callersMethodcheck_exit_code
(self, code: Union[int, bool])
tests/http/testenv/curl.py:393
↓ 110 callersFunctionCurl_bufq_is_empty
lib/bufq.c:266
↓ 109 callersFunctioncurl_maprintf
lib/mprintf.c:1184
↓ 107 callersFunctionwarnf
* Emit warning formatted message on configured 'errors' stream unless * mute (--silent) was selected. */
src/tool_msgs.c:93
↓ 105 callersFunctioncurl_strnequal
--- public function --- */
lib/strequal.c:87
↓ 105 callersFunctionglobal_init
* curl_global_init() globally initializes curl given a bitwise set of the * different features of what to initialize. */
lib/easy.c:124
↓ 98 callersFunctioncurl_url_get
lib/urlapi.c:1583
↓ 97 callersFunctioncurl_multi_cleanup
lib/multi.c:2979
↓ 95 callersFunctionCurl_llist_head
Curl_llist_head() returns the first 'struct Curl_llist_node *', which might be NULL */
lib/llist.c:203
↓ 94 callersFunctioncurl_url_set
lib/urlapi.c:1973
↓ 93 callersFunctioncurlx_dyn_addf
* Append a string printf()-style */
lib/curlx/dynbuf.c:220
↓ 87 callersMethodcheck_stats
(self, count: int, http_status: Optional[int] = None, exitcode: Optional[Union[int, List[i
tests/http/testenv/curl.py:463
↓ 86 callersFunctioncurlx_str_single
Advance over a single character. return non-zero on error */
lib/curlx/strparse.c:138
↓ 84 callersFunctioncurlx_dyn_add
* Append a null-terminated string at the end. */
lib/curlx/dynbuf.c:173
↓ 83 callersFunctioncurlx_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 callersFunctionCurl_setstropt
lib/setopt.c:82
↓ 79 callersFunctiongetstr
src/tool_getparam.c:44
↓ 77 callersMethodcurl_uses_lib
(libname: str)
tests/http/testenv/env.py:495
↓ 77 callersMethodexists
(self)
tests/http/testenv/sshd.py:186
↓ 75 callersFunctionerrorf
* 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 callersFunctioncurl_multi_remove_handle
lib/multi.c:784
↓ 74 callersFunctioncurl_url_cleanup
lib/urlapi.c:1322
↓ 73 callersFunctionCurl_node_elem
Curl_node_elem() returns the custom data from a Curl_llist_node */
lib/llist.c:234
↓ 70 callersFunctionCurl_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 callersFunctionCurl_bufref_ptr
* Get a pointer to the referenced string. */
lib/bufref.c:99
↓ 66 callersFunctionCurl_llist_count
Curl_llist_count() returns a size_t the number of nodes in the list */
lib/llist.c:226
↓ 65 callersFunctionCurl_set_in_callback
'value' used to be a boolean but can now also contain more info */
lib/multi.c:3910
↓ 64 callersMethodrun
(self, args)
tests/http/testenv/client.py:83
↓ 63 callersFunctionCurl_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 callersFunctioncurl_multi_setopt
lib/multi.c:3336
↓ 62 callersMethodmake_data_file
( self, indir: str, fname: str, fsize: int, line_length: int = 1024 )
tests/http/testenv/env.py:908
↓ 59 callersFunctionCurl_node_next
Curl_node_next() returns the next element in a list from a given Curl_llist_node */
lib/llist.c:243
↓ 59 callersFunctioncurl_url
*/
lib/urlapi.c:1317
↓ 59 callersFunctioncurlx_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 callersFunctionCurl_meta_get
lib/easy.c:1399
↓ 57 callersFunctioncurlx_now
lib/curlx/timeval.c:175
↓ 57 callersMethodhttp_get
(self, url: str, extra_args: Optional[List[str]] = None, alpn_proto: Optional[str] = None,
tests/http/testenv/curl.py:706
↓ 51 callersFunctionCurl_ssl_cf_get_primary_config
lib/vtls/vtls.c:1586
↓ 51 callersFunctioncurlx_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 callersFunctioncurl_multi_add_handle
lib/multi.c:466
↓ 48 callersFunctioncurlx_ultouc
* unsigned long to unsigned char */
lib/curlx/warnless.c:54
↓ 47 callersFunctionCurl_bufq_len
lib/bufq.c:255
↓ 47 callersFunctionCurl_peer_unlink
lib/peer.c:306
↓ 46 callersFunctioncurl_mime_addpart
Create a mime part and append it to a mime handle's part list. */
lib/mime.c:1235
↓ 46 callersFunctionmulti_perform
lib/multi.c:2887
↓ 45 callersFunctionCurl_bufref_set
* Set the buffer reference to new values. The previously referenced buffer * is released before assignment. */
lib/bufref.c:72
↓ 44 callersFunctioncurlx_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 callersFunctioncurlx_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 callersFunctioncurlx_str_passblanks
increase the pointer until it has moved over all blanks */
lib/curlx/strparse.c:313
↓ 41 callersFunctionCurl_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 callersFunctioncurl_multi_info_read
lib/multi.c:3085
↓ 41 callersFunctioncurl_multi_init
lib/multi.c:368
↓ 41 callersFunctioncurlx_uztoui
* unsigned size_t to unsigned int */
lib/curlx/warnless.c:110
↓ 41 callersMethodexists
(self)
tests/http/testenv/client.py:65
↓ 41 callersFunctionmyssh_to_ERROR
lib/vssh/libssh.c:373
↓ 40 callersFunctionCurl_multi_mark_dirty
lib/multi.c:4179
↓ 40 callersFunctioncurlx_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 callersFunctioncurlx_str_casecompare
case insensitive compare that the parsed string matches the given string. Returns non-zero on match. */
lib/curlx/strparse.c:252
↓ 39 callersFunctionCurl_bufq_write
lib/bufq.c:367
↓ 39 callersFunctioncurl_share_setopt
lib/curl_share.c:191
↓ 38 callersFunctioncurl_multi_perform
lib/multi.c:2969
↓ 38 callersFunctioneasysrc_addf
src/tool_easysrc.c:104
↓ 35 callersFunctionCurl_bufq_free
lib/bufq.c:235
↓ 35 callersFunctionCurl_hash_pick
Retrieves a hash element. * * @unittest: 1603 */
lib/hash.c:238
↓ 35 callersFunctiongetASN1Element
lib/vtls/x509asn1.c:205
↓ 35 callersMethodinfo
(self, msg)
tests/http/scorecard.py:277
↓ 34 callersFunctioncurl_mime_free
Recursively delete a mime handle and its parts. */
lib/mime.c:1104
↓ 34 callersFunctioncurlx_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 callersMethodget_proxy_args
(self, proto: str = 'http/1.1', proxys: bool = True, tunnel: bool = False,
tests/http/testenv/curl.py:673
↓ 33 callersFunctioncurl_mime_name
Set mime part name. */
lib/mime.c:1260
↓ 32 callersFunctionossl_strerror
Return error string for last OpenSSL error */
lib/vtls/openssl.c:748
next →1–100 of 6,269, ranked by callers