mirror of
https://github.com/curl/curl.git
synced 2026-07-27 18:48:55 +03:00
src: replace strto[u][ld] with curlx_str_ parsers
- Better error handling (no errno mess), better limit checks. - Also removed all uses of curlx_strtoofft() Closes #16634
This commit is contained in:
parent
f3b599a7e2
commit
8dca3b0656
12 changed files with 150 additions and 205 deletions
|
|
@ -99,4 +99,9 @@ int Curl_str_cspn(const char **linep, struct Curl_str *out, const char *cspn);
|
|||
void Curl_str_trimblanks(struct Curl_str *out);
|
||||
void Curl_str_passblanks(const char **linep);
|
||||
|
||||
#define curlx_str_number(x,y,z) Curl_str_number(x,y,z)
|
||||
#define curlx_str_octal(x,y,z) Curl_str_octal(x,y,z)
|
||||
#define curlx_str_single(x,y) Curl_str_single(x,y)
|
||||
#define curlx_str_passblanks(x) Curl_str_passblanks(x)
|
||||
|
||||
#endif /* HEADER_CURL_STRPARSE_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue