X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.h;h=f8f3e966f311e4421d607f6029a9f03fb0b75b1a;hb=a93c1059c61026dab25278d0839c44745fc117b6;hp=6df82088bbae7cb3ed25aade59d8dde1cd900ffe;hpb=0861238aa4d158d0f8b6123ea9c6532be5d531bf;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index 6df8208..f8f3e96 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 "0.23.1" +#define PHP_EXT_HTTP_VERSION "0.25.0dev" #ifdef HAVE_CONFIG_H # include "config.h" @@ -59,6 +59,7 @@ # define CURL_STATICLIB # endif # include +# define HTTP_CURL_VERSION(x, y, z) (LIBCURL_VERSION_NUM >= (((x)<<16) + ((y)<<8) + (z))) #endif #if defined(HTTP_WANT_MAGIC) && defined(HTTP_HAVE_MAGIC) @@ -177,6 +178,7 @@ PHP_FUNCTION(http_get); PHP_FUNCTION(http_head); PHP_FUNCTION(http_post_data); PHP_FUNCTION(http_post_fields); +PHP_FUNCTION(http_put_data); PHP_FUNCTION(http_put_file); PHP_FUNCTION(http_put_stream); #endif /* HTTP_HAVE_CURL */