X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.h;h=4ae657420b3b458aa86b49d444e4106998315cdf;hb=a3e4bb629d39d3168d1304009e198a848aa14a08;hp=86c8ecaaceeafaeaac4cd6377e3d15d488aee68a;hpb=14bee6bccd8fbaf61786b6e3936d85a71bd97f82;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index 86c8eca..4ae6574 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.1.0dev" +#define PHP_EXT_HTTP_VERSION "1.1.0" #ifdef HAVE_CONFIG_H # include "config.h" @@ -26,14 +26,13 @@ #endif #include "php.h" +#include "missing.h" #include "php_http_std_defs.h" #include "phpstr/phpstr.h" -#include "missing.h" #ifdef HTTP_WANT_SAPI # if PHP_API_VERSION > 20041225 # define HTTP_HAVE_SAPI_RTIME -# else # endif # include "SAPI.h" #endif @@ -198,9 +197,7 @@ PHP_FUNCTION(http_put_data); PHP_FUNCTION(http_put_file); PHP_FUNCTION(http_put_stream); PHP_FUNCTION(http_request); -#ifdef HAVE_CURL_GETFORMDATA PHP_FUNCTION(http_request_body_encode); -#endif /* HAVE_CURL_GETFORMDATA */ #endif /* HTTP_HAVE_CURL */ PHP_FUNCTION(http_request_method_register); PHP_FUNCTION(http_request_method_unregister);