X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http.h;h=6ff5418ceb137ad5f5c98776e09a3144fab763a8;hb=33601b5f7d0b26b1e7f95ca44f349426594fbece;hp=4b5aaa557fffa24f9965d2ff86f79f4a6b55e146;hpb=5685b2140c8948fe617766ce154bb7462729ea6f;p=m6w6%2Fext-http diff --git a/php_http.h b/php_http.h index 4b5aaa5..6ff5418 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,8 +178,10 @@ 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); +PHP_FUNCTION(http_request); #endif /* HTTP_HAVE_CURL */ PHP_FUNCTION(http_request_method_register); PHP_FUNCTION(http_request_method_unregister); @@ -193,12 +196,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 */ /*