X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http.h;h=9137b812c6eecb7036535f8ed42169d1fdb3f53b;hp=4dffa673c31061d6e09c831c9da712ad93d61801;hb=061fbbe598d6e28b35c408b35beec1a6508abac9;hpb=0d925a2820b9d75b8e32c451fd400863e51e22fe diff --git a/php_http.h b/php_http.h index 4dffa67..9137b81 100644 --- a/php_http.h +++ b/php_http.h @@ -28,6 +28,7 @@ # include #endif #include "ext/standard/md5.h" +#include "ext/standard/sha1.h" #include "phpstr/phpstr.h" extern zend_module_entry http_module_entry; @@ -41,8 +42,9 @@ ZEND_BEGIN_MODULE_GLOBALS(http) zend_bool only_exceptions; #endif struct _http_globals_etag { + long mode; + void *ctx; zend_bool started; - PHP_MD5_CTX md5ctx; } etag; struct _http_globals_log {