mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
ctype: add ISUNRESERVED()
... and make Curl_isunreserved() use that macro instead of providing a separate funtion for the purpose. Closes #11840
This commit is contained in:
parent
6fa1d817e5
commit
291d225a50
3 changed files with 7 additions and 28 deletions
|
|
@ -26,7 +26,9 @@
|
|||
/* Escape and unescape URL encoding in strings. The functions return a new
|
||||
* allocated string or NULL if an error occurred. */
|
||||
|
||||
bool Curl_isunreserved(unsigned char in);
|
||||
#include "curl_ctype.h"
|
||||
|
||||
#define Curl_isunreserved(x) ISUNRESERVED(x)
|
||||
|
||||
enum urlreject {
|
||||
REJECT_NADA = 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue