X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_params.h;h=42f56f901c5249b2bf12d661761ab048d49a56c7;hp=a9ac5645eb17f24bd17f8eb04bc691b9dc31926f;hb=refs%2Fheads%2Fv2.2.x;hpb=87db9817d428282792c8146d9c2ae9748ebf6f1e diff --git a/php_http_params.h b/php_http_params.h index a9ac564..42f56f9 100644 --- a/php_http_params.h +++ b/php_http_params.h @@ -6,7 +6,7 @@ | modification, are permitted provided that the conditions mentioned | | in the accompanying LICENSE file are met. | +--------------------------------------------------------------------+ - | Copyright (c) 2004-2013, Michael Wallner | + | Copyright (c) 2004-2014, Michael Wallner | +--------------------------------------------------------------------+ */ @@ -19,10 +19,12 @@ typedef struct php_http_params_token { } php_http_params_token_t; #define PHP_HTTP_PARAMS_RAW 0x00 -#define PHP_HTTP_PARAMS_DEFAULT 0x01 +#define PHP_HTTP_PARAMS_ESCAPED 0x01 #define PHP_HTTP_PARAMS_URLENCODED 0x04 #define PHP_HTTP_PARAMS_DIMENSION 0x08 +#define PHP_HTTP_PARAMS_RFC5987 0x10 #define PHP_HTTP_PARAMS_QUERY (PHP_HTTP_PARAMS_URLENCODED|PHP_HTTP_PARAMS_DIMENSION) +#define PHP_HTTP_PARAMS_DEFAULT (PHP_HTTP_PARAMS_ESCAPED|PHP_HTTP_PARAMS_RFC5987) typedef struct php_http_params_opts { php_http_params_token_t input;