X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=32ce1e365123d6af1f8a15943a52130c7f654a2c;hp=4b5aaa557fffa24f9965d2ff86f79f4a6b55e146;hb=669d2e6a8bdc642b6b52693f4593f199ddd7e8d2;hpb=5685b2140c8948fe617766ce154bb7462729ea6f diff --git a/php_http.h b/php_http.h index 4b5aaa5..32ce1e3 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.24.0dev" +#define PHP_EXT_HTTP_VERSION "1.0.0RC3-dev" #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 */ @@ -193,12 +195,6 @@ PHP_FUNCTION(ob_inflatehandler); #endif PHP_FUNCTION(http_support); -PHP_MINIT_FUNCTION(http); -PHP_MSHUTDOWN_FUNCTION(http); -PHP_RINIT_FUNCTION(http); -PHP_RSHUTDOWN_FUNCTION(http); -PHP_MINFO_FUNCTION(http); - #endif /* PHP_HTTP_H */ /*