mirror of
https://github.com/curl/curl.git
synced 2026-08-24 12:33:37 +03:00
trace: make tracing available in non-debug builds
Add --trace-config to curl Add curl_global_trace() to libcurl Closes #11421
This commit is contained in:
parent
0f49b5bacb
commit
e12b39e133
46 changed files with 1166 additions and 790 deletions
|
|
@ -2731,6 +2731,20 @@ CURL_EXTERN CURLcode curl_global_init_mem(long flags,
|
|||
*/
|
||||
CURL_EXTERN void curl_global_cleanup(void);
|
||||
|
||||
/*
|
||||
* NAME curl_global_trace()
|
||||
*
|
||||
* DESCRIPTION
|
||||
*
|
||||
* curl_global_trace() can be invoked at application start to
|
||||
* configure which components in curl should participate in tracing.
|
||||
|
||||
* This function is thread-safe if CURL_VERSION_THREADSAFE is set in the
|
||||
* curl_version_info_data.features flag (fetch by curl_version_info()).
|
||||
|
||||
*/
|
||||
CURL_EXTERN CURLcode curl_global_trace(const char *config);
|
||||
|
||||
/* linked-list structure for the CURLOPT_QUOTE option (and other) */
|
||||
struct curl_slist {
|
||||
char *data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue