X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_params.h;h=e1ebe2778db75aa1eb3abba8a4e5a7d75c322cc1;hp=a9ac5645eb17f24bd17f8eb04bc691b9dc31926f;hb=a4df85a0ee26bd18d7f7780c19829e3902b11426;hpb=0b83632b2b0a03eeca090f993259ccd95ab646fb diff --git a/php_http_params.h b/php_http_params.h index a9ac564..e1ebe27 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,13 @@ 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_RFC5988 0x20 #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;