brain wrecked
[m6w6/ext-http] / php_http_url.h
index df8cae513bae25eaf8179222f619a57677325963..eaecdfa8ace9debe375bacdec758c780d21e9f92 100644 (file)
@@ -45,7 +45,9 @@ typedef struct php_http_url_part {
 /* parse utf8 multibyte sequences */
 #define PHP_HTTP_URL_PARSE_MBUTF8 0x002
 /* convert multibyte hostnames to IDNA */
-#define PHP_HTTP_URL_PARSE_IDN    0x010
+#define PHP_HTTP_URL_PARSE_TOIDN  0x010
+/* percent encode multibyte sequences in userinfo, path, query and fragment */
+#define PHP_HTTP_URL_PARSE_TOPCT  0x020
 
 typedef struct php_http_url {
        /* compatible to php_url, but do not use php_url_free() */