X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.h;h=4ae657420b3b458aa86b49d444e4106998315cdf;hb=refs%2Ftags%2FRELEASE_1_1_0;hp=389493d666799f50666eb6b37fd70ed10277f8c6;hpb=ed4f2ff81a6afcabbce1404395f2b8da9bc2eb38;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index 389493d..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.0.1" +#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);