mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
curlx: add curlx_winapi_ functions
Split them out from lib/strerror. Used by test code. Closes #17299
This commit is contained in:
parent
9468503330
commit
c74d3e10d2
9 changed files with 193 additions and 110 deletions
|
|
@ -29,9 +29,6 @@
|
|||
#define STRERROR_LEN 256 /* a suitable length */
|
||||
|
||||
const char *Curl_strerror(int err, char *buf, size_t buflen);
|
||||
#ifdef _WIN32
|
||||
const char *curlx_winapi_strerror(DWORD err, char *buf, size_t buflen);
|
||||
#endif
|
||||
#ifdef USE_WINDOWS_SSPI
|
||||
const char *Curl_sspi_strerror(int err, char *buf, size_t buflen);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue