X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=c25e576d1e29d67fdcec814797d7d60a77d1d9b0;hp=5ba031185fb7511817b1fb5840145388cea9e21e;hb=c40902a33546532405c17c6216c347874f8cb8ff;hpb=5ecd200ee2e3d887f0393948aec1914867e64293 diff --git a/php_http.h b/php_http.h index 5ba0311..c25e576 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 "1.2.1dev" +#define PHP_EXT_HTTP_VERSION "1.3.1dev" #ifdef HAVE_CONFIG_H # include "config.h" @@ -71,6 +71,8 @@ #endif #include +#define HTTP_IS_CTYPE(type, c) is##type((int) (unsigned char) (c)) +#define HTTP_TO_CTYPE(type, c) to##type((int) (unsigned char) (c)) extern zend_module_entry http_module_entry; #define phpext_http_ptr &http_module_entry @@ -123,6 +125,15 @@ ZEND_BEGIN_MODULE_GLOBALS(http) void *entries; } custom; } methods; +#if defined(ZEND_ENGINE_2) && defined(HTTP_HAVE_CURL) + struct _http_globals_request_datashare { + zend_llist handles; + zend_bool cookie; + zend_bool dns; + zend_bool ssl; + zend_bool connect; + } datashare; +#endif } request; #ifdef ZEND_ENGINE_2