mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:33:33 +03:00
urlapi: add curl_url_strerror()
Add curl_url_strerror() to convert CURLUcode into readable string and facilitate easier troubleshooting in programs using URL API. Extend CURLUcode with CURLU_LAST for iteration in unit tests. Update man pages with a mention of new function. Update example code and tests with new functionality where it fits. Closes #7605
This commit is contained in:
parent
f0b8d1c5f6
commit
3363eeb262
25 changed files with 233 additions and 72 deletions
|
|
@ -2913,6 +2913,10 @@
|
|||
d part * value options(*string)
|
||||
d flags 10u 0 value
|
||||
*
|
||||
d curl_url_strerror...
|
||||
d pr * extproc('curl_url_strerror') const char *
|
||||
d code value like(CURLUcode)
|
||||
*
|
||||
d curl_easy_option_by_name...
|
||||
d pr * extproc('curl_easy_option_by_name') curl_easyoption *
|
||||
d name * value option(*string)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue