X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.h;h=7e82c04037a7073e6b6ea59561f1fe0b27c7baa5;hb=fc59dd8cc364f6afe7a9707fe9a0784959551d68;hp=7d20048083321bfab807c6938b929f7ee45d9b79;hpb=4fcbd8e8ae31611c5197ff2369673b5939fc2b80;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index 7d20048..7e82c04 100644 --- a/php_http.h +++ b/php_http.h @@ -15,12 +15,14 @@ #ifndef PHP_EXT_HTTP_H #define PHP_EXT_HTTP_H -#define PHP_EXT_HTTP_VERSION "0.22.0-dev" +#define PHP_EXT_HTTP_VERSION "0.23.0dev" #ifdef HAVE_CONFIG_H # include "config.h" #else -# include "php_config.h" +# ifndef PHP_WIN32 +# include "php_config.h" +# endif #endif #include "php.h" @@ -145,6 +147,7 @@ ZEND_EXTERN_MODULE_GLOBALS(http); PHP_FUNCTION(http_test); PHP_FUNCTION(http_date); PHP_FUNCTION(http_build_url); +PHP_FUNCTION(http_build_str); PHP_FUNCTION(http_negotiate_language); PHP_FUNCTION(http_negotiate_charset); PHP_FUNCTION(http_negotiate_content_type); @@ -181,9 +184,6 @@ PHP_FUNCTION(http_request_method_register); PHP_FUNCTION(http_request_method_unregister); PHP_FUNCTION(http_request_method_exists); PHP_FUNCTION(http_request_method_name); -#ifndef ZEND_ENGINE_2 -PHP_FUNCTION(http_build_query); -#endif /* ZEND_ENGINE_2 */ PHP_FUNCTION(ob_etaghandler); #ifdef HTTP_HAVE_ZLIB PHP_FUNCTION(http_deflate);