X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=4e2a7c67bc5e0c2b49f418b354c39224af60e1b8;hp=6ff5418ceb137ad5f5c98776e09a3144fab763a8;hb=dbc4ec02cd319000b5c8589910047cfe6d5738be;hpb=33601b5f7d0b26b1e7f95ca44f349426594fbece diff --git a/php_http.h b/php_http.h index 6ff5418..4e2a7c6 100644 --- a/php_http.h +++ b/php_http.h @@ -15,7 +15,7 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_EXT_HTTP_VERSION "1.0.0RC3-dev" +#define PHP_EXT_HTTP_VERSION "1.0.0RC5-dev" #ifdef HAVE_CONFIG_H # include "config.h" @@ -118,6 +118,7 @@ ZEND_BEGIN_MODULE_GLOBALS(http) struct _http_globals_request_methods { char *allowed; struct _http_globals_request_methods_custom { + char *ini; int count; void *entries; } custom; @@ -169,6 +170,7 @@ PHP_FUNCTION(http_chunked_decode); PHP_FUNCTION(http_parse_message); PHP_FUNCTION(http_parse_headers); PHP_FUNCTION(http_parse_cookie); +PHP_FUNCTION(http_parse_params); PHP_FUNCTION(http_get_request_headers); PHP_FUNCTION(http_get_request_body); PHP_FUNCTION(http_get_request_body_stream); @@ -182,6 +184,7 @@ PHP_FUNCTION(http_put_data); PHP_FUNCTION(http_put_file); PHP_FUNCTION(http_put_stream); PHP_FUNCTION(http_request); +PHP_FUNCTION(http_request_body_encode); #endif /* HTTP_HAVE_CURL */ PHP_FUNCTION(http_request_method_register); PHP_FUNCTION(http_request_method_unregister);