X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.h;h=f8f3e966f311e4421d607f6029a9f03fb0b75b1a;hb=26140a4b272ea47026dfefdc36d5c8376aece9d6;hp=94bf26f382edf6b633694c222ea10fdcdef5394c;hpb=b22d34f60b6694a8fed24cff66a28fd638309928;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index 94bf26f..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.2" +#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 */