X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=src%2Fphp_http_url.h;h=6d4b09d47fc782dc58dde813a2482a042d549ef1;hp=afc04126c216eb6fc1650313ec7241c7bdb5da4b;hb=2e92ec70991d53cb3d6d710ae7a6b3a6b31ec978;hpb=cdff5afac598d4276f6a7116cb47fec33d0efb48 diff --git a/src/php_http_url.h b/src/php_http_url.h index afc0412..6d4b09d 100644 --- a/src/php_http_url.h +++ b/src/php_http_url.h @@ -45,6 +45,15 @@ /* percent encode multibyte sequences in userinfo, path, query and fragment */ #define PHP_HTTP_URL_PARSE_TOPCT 0x200000 +#if PHP_HTTP_HAVE_IDNA2008 +#define PHP_HTTP_URL_PARSE_TOIDN_2008 \ + (PHP_HTTP_URL_PARSE_TOIDN | 0x400000) +#endif +#if PHP_HTTP_HAVE_IDNA2003 +#define PHP_HTTP_URL_PARSE_TOIDN_2003 \ + (PHP_HTTP_URL_PARSE_TOIDN | 0x800000) +#endif + /* ignore errors */ #define PHP_HTTP_URL_IGNORE_ERRORS 0x10000000 /* do not report errors */