- need php_stream_open_wrapper_*ex* to pass a stream context
[m6w6/ext-http] / php_http.h
index 7302098ea1fa4a02308255c30ba11c6ca1ae1eed..213384f0630f154beeda9a983038bf6e9ba05ed9 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef PHP_EXT_HTTP_H
 #define PHP_EXT_HTTP_H
 
-#define PHP_EXT_HTTP_VERSION "0.23.0dev"
+#define PHP_EXT_HTTP_VERSION "0.24.0dev"
 
 #ifdef HAVE_CONFIG_H
 #      include "config.h"
@@ -59,6 +59,7 @@
 #              define CURL_STATICLIB
 #      endif
 #      include <curl/curl.h>
+#      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)